comparison make/bsd/makefiles/gcc.make @ 18132:b00fc4dc6dc2

lower optimization on unsafe.cpp with XCode 6 as well
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 20 Oct 2014 16:22:18 -0700
parents 9a980af18ec5
children be896a1983c0
comparison
equal deleted inserted replaced
18131:85cec9cab17b 18132:b00fc4dc6dc2
322 endif 322 endif
323 # Clang 5.0 323 # Clang 5.0
324 ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& \( $(CC_VER_MINOR) = 0 \| $(CC_VER_MINOR) = 1 \) ), 1) 324 ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& \( $(CC_VER_MINOR) = 0 \| $(CC_VER_MINOR) = 1 \) ), 1)
325 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) 325 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
326 OPT_CFLAGS/unsafe.o += -O1 326 OPT_CFLAGS/unsafe.o += -O1
327 OPT_CFLAGS/graalCompilerToVM.o += -O1 327 endif
328 # Clang 6.x
329 ifeq ($(shell expr $(CC_VER_MAJOR) = 6), 1)
330 OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
331 OPT_CFLAGS/unsafe.o += -O1
328 endif 332 endif
329 else 333 else
330 # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. 334 # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation.
331 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1) 335 ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1)
332 OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT) 336 OPT_CFLAGS/mulnode.o += $(OPT_CFLAGS/NOOPT)