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
--- a/hotspot/make/jprt.properties Thu Apr 30 12:09:39 2009 -0700
+++ b/hotspot/make/jprt.properties Thu Apr 30 15:57:29 2009 -0700
@@ -222,14 +222,12 @@
${jprt.my.solaris.i586}-fastdebug-c2-jbb_G1, \
${jprt.my.solaris.i586}-fastdebug-c2-jbb_ParOldGC
-# Removed 4/29/2009 due to Fedora 9 problem:
-# ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp
-
jprt.my.linux.i586.test.targets = \
${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-jvm98, \
${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-scimark, \
${jprt.my.linux.i586}-product-c1-runThese_Xcomp, \
${jprt.my.linux.i586}-fastdebug-c1-runThese_Xshare, \
+ ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp, \
${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_default, \
${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \
${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \
--- a/hotspot/make/linux/makefiles/gcc.make Thu Apr 30 12:09:39 2009 -0700
+++ b/hotspot/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