8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite)
Reviewed-by: lfoltan, kvn
--- a/hotspot/make/bsd/makefiles/gcc.make Thu Aug 28 13:01:44 2014 -0400
+++ b/hotspot/make/bsd/makefiles/gcc.make Fri Aug 29 13:34:16 2014 +0200
@@ -325,6 +325,10 @@
else ifeq ($(shell expr $(CC_VER_MAJOR) = 5 \& $(CC_VER_MINOR) = 1), 1)
OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
OPT_CFLAGS/unsafe.o += -O1
+ # Clang 6.0
+ else ifeq ($(shell expr $(CC_VER_MAJOR) = 6 \& $(CC_VER_MINOR) = 0), 1)
+ OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT)
+ OPT_CFLAGS/unsafe.o += -O1
else
$(error "Update compiler workarounds for Clang $(CC_VER_MAJOR).$(CC_VER_MINOR)")
endif