hotspot/make/linux/makefiles/gcc.make
changeset 2787 c7bec0cb1e4a
parent 2784 f159507e4db1
parent 2734 a15982b3cd69
child 4013 b154310845de
--- a/hotspot/make/linux/makefiles/gcc.make	Fri May 08 14:33:58 2009 -0700
+++ b/hotspot/make/linux/makefiles/gcc.make	Fri May 15 13:41:04 2009 -0700
@@ -113,6 +113,11 @@
 
 OPT_CFLAGS/NOOPT=-O0
 
+# 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. 
+ifneq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) = 3 \) \))" "0"
+OPT_CFLAGS/mulnode.o += -O0
+endif
+
 #------------------------------------------------------------------------
 # Linker flags