Bug on gccfss 4.03

$ gcc --version

sparc-sun-solaris2.10-gcc (GCC) 4.0.3 (gccfss)

Compiling (aggressively) Mesa 6.5.2, I stepped on a bug easy to reproduce;

$ cd [Mesa-top-dir]/src

$ gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -pipe -O3 -xipo=2 -xtarget=ultra2e -xarch=v8plusa -xbuiltin -fsimple=2 -fns -xprefetch=auto,explicit -fno-builtin -fomit-frame-pointer -fPIC -I/usr/openwin/include -DUSE_XSHM main/get.c -o main/get.o

gcc: Internal error: Segmentation Fault (program iropt)

Please submit a full bug report to

[...]

I just need to make the optimization level lower (-O1) and everything is fine...

PLATFORM = Blade 150, US2e-650MHz, Solaris 10U3

$ uname -na

$ SunOS zeblade 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Blade-100

Hope it helps.

- LDom

[1140 byte] By [LDomSDNa] at [2007-11-26 17:07:58]
# 1
> sparc-sun-solaris2.10-gcc (GCC) 4.0.3 (gccfss)> gcc: Internal error: Segmentation Fault (program> iropt)Thank you for reporting the problem.We reproduced the problem with GCCfss 4.0.3. The CR # for this problem is 6520812.
alexey_a at 2007-7-8 23:35:48 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2
This problem has been fixed: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6520812The upcoming GCCfss 4.0.4 will contain the fix and should be available late March.
alexey_a at 2007-7-8 23:35:48 > top of Java-index,Open Source Technologies,OpenSPARC...