Mercurial > hg > graal-compiler
comparison make/solaris/makefiles/sparcWorks.make @ 1687:fb8abd207dbe
6975049: nsk/regression/b4287029 crashes with -Xss64 on solaris-i586
Summary: Tell C++ to not inline so much by using flag -xspace.
Reviewed-by: ysr
author | kvn |
---|---|
date | Fri, 06 Aug 2010 11:53:28 -0700 |
parents | c18cbe5936b8 |
children | 22cace5e30b5 |
comparison
equal
deleted
inserted
replaced
1686:0e09207fc81b | 1687:fb8abd207dbe |
---|---|
143 # Use these to work around compiler bugs: | 143 # Use these to work around compiler bugs: |
144 OPT_CFLAGS/SLOWER=-xO3 | 144 OPT_CFLAGS/SLOWER=-xO3 |
145 OPT_CFLAGS/O2=-xO2 | 145 OPT_CFLAGS/O2=-xO2 |
146 OPT_CFLAGS/NOOPT=-xO1 | 146 OPT_CFLAGS/NOOPT=-xO1 |
147 | 147 |
148 ################################################# | |
149 # Begin current (>=5.9) Forte compiler options # | |
150 ################################################# | |
151 | |
148 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) | 152 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
149 ifeq ($(Platform_arch), x86) | 153 ifeq ($(Platform_arch), x86) |
150 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz | 154 OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz |
151 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz | 155 OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz |
156 OPT_CFLAGS/stubGenerator_x86_32.o = $(OPT_CFLAGS) -xspace | |
157 OPT_CFLAGS/stubGenerator_x86_64.o = $(OPT_CFLAGS) -xspace | |
152 endif # Platform_arch == x86 | 158 endif # Platform_arch == x86 |
159 ifeq ("${Platform_arch}", "sparc") | |
160 OPT_CFLAGS/stubGenerator_sparc.o = $(OPT_CFLAGS) -xspace | |
161 endif | |
153 endif # COMPILER_REV_NUMERIC >= 509 | 162 endif # COMPILER_REV_NUMERIC >= 509 |
154 | 163 |
155 ################################################# | 164 ################################################# |
156 # Begin current (>=5.6) Forte compiler options # | 165 # Begin current (>=5.6) Forte compiler options # |
157 ################################################# | 166 ################################################# |