1.1 --- a/make/solaris/makefiles/fastdebug.make Mon Jul 23 13:04:59 2012 -0700 1.2 +++ b/make/solaris/makefiles/fastdebug.make Tue Jul 24 10:51:00 2012 -0700 1.3 @@ -36,6 +36,14 @@ 1.4 ifeq ("${Platform_compiler}", "sparcWorks") 1.5 OPT_CFLAGS/SLOWER = -xO2 1.6 1.7 +ifeq ($(COMPILER_REV_NUMERIC), 510) 1.8 +# CC 5.10 has bug XXXXX with -xO4 1.9 +OPT_CFLAGS/jvmtiClassFileReconstituter.o = $(OPT_CFLAGS/SLOWER) 1.10 +# jvm98 crashes on solaris-i586-fastdebug and solaris-sparc-fastdebug with stack overflow 1.11 +OPT_CFLAGS/escape.o = $(OPT_CFLAGS) -xspace 1.12 +OPT_CFLAGS/matcher.o = $(OPT_CFLAGS) -xspace 1.13 +endif # COMPILER_REV_NUMERIC == 510 1.14 + 1.15 ifeq ($(COMPILER_REV_NUMERIC), 509) 1.16 # To avoid jvm98 crash 1.17 OPT_CFLAGS/instanceKlass.o = $(OPT_CFLAGS/SLOWER)