hotspot/make/solaris/makefiles/product.make
changeset 13311 71effe5a1069
parent 11721 dcd1f62c9caf
child 13728 882756847a04
--- a/hotspot/make/solaris/makefiles/product.make	Mon Jul 23 14:28:38 2012 -0700
+++ b/hotspot/make/solaris/makefiles/product.make	Thu Jul 26 17:24:31 2012 -0400
@@ -40,6 +40,11 @@
 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
 ifeq ("${Platform_compiler}", "sparcWorks")
 
+ifeq ($(COMPILER_REV_NUMERIC), 510)
+# CC 5.10 has bug XXXXX with -xO4
+OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/O2)
+endif # COMPILER_REV_NUMERIC == 510
+
 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
 # dtrace cannot handle tail call optimization (6672627, 6693876)
 OPT_CFLAGS/jni.o = $(OPT_CFLAGS/DEFAULT) $(OPT_CCFLAGS/NO_TAIL_CALL_OPT)