diff make/linux/makefiles/gcc.make @ 744:af5d39ca39a3

6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out Summary: Switch off GCC 4.3.0 optimized compilation for mulnode.o. Reviewed-by: johnc
author kvn
date Thu, 30 Apr 2009 15:57:29 -0700
parents 0fbdb4381b99
children f5ee65f94d9a
line wrap: on
line diff
--- a/make/linux/makefiles/gcc.make	Thu Apr 30 12:09:39 2009 -0700
+++ b/make/linux/makefiles/gcc.make	Thu Apr 30 15:57:29 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