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

