root@penelope# gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] ---------------------------------------------- root@penelope# uname -a FreeBSD penelope.gsicomp.on.ca 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #0: Wed Dec 8 22:11:29 EST 2004 root@penelope.gsicomp.on.ca:/usr/obj/usr/src/sys/PENELOPE.20040530.01 i386 ---------------------------------------------- matt@penelope# make shell32_main.o gcc34 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_SHELL32_ - DCOM_NO_WINDOWS_H --save-temps -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack- boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o shell32_main.o shell32_main.c gcc34: warning: -pipe ignored because -save-temps specified shell32_main.c: In function `SHGetFileInfoW': shell32_main.c:185: error: insn does not satisfy its constraints: (insn 1822 1263 1265 118 shell32_main.c:484 (parallel [ (set (reg:CCNO 17 flags) (compare:CCNO (and:QI (reg:QI 5 di [orig:63 flags ] [63]) (const_int -32 [0xffffffe0])) (const_int 0 [0x0]))) (set (reg:QI 5 di [orig:63 flags ] [63]) (and:QI (reg:QI 5 di [orig:63 flags ] [63]) (const_int -32 [0xffffffe0]))) ]) 205 {*andqi_2} (nil) (expr_list:REG_UNUSED (reg:QI 5 di [orig:63 flags ] [63]) (nil))) shell32_main.c:185: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1549 ----------------------------------------------
Created attachment 7843 [details] Pre-processed output from file causing the ICE gzipped pre-processed output. (Bugzilla didn't like it uncompressed since it was >1MB).
The ICE goes away when compiling without -O2.
What exact version of 3.4.4 is this aka give the output of "gcc34 -v". Also if this is a three week old snapshot, try a newer snapshot as I think this has been fixed already.
Ignore the "gcc -v" that claims to be 2.95.4. That's from the wrong gcc. Here's the right info: matt@penelope# gcc34 -v Reading specs from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.4/specs Configured with: ./..//gcc-3.4-20041210/configure --disable-nls --with-system- zlib --with-libiconv-prefix=/usr/local --program-suffix=34 --with-gxx-include- dir=/usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.4/include/c++/ --disable- shared --prefix=/usr/local i386-portbld-freebsd4.10 Thread model: posix gcc version 3.4.4 20041210 (prerelease) [FreeBSD]
I think this is a dup of bug 18932 which is already fixed in a later version of 3.4.4, can you try a newer version of 3.4.4?
Upgraded to gcc-20050107 and the problem has gone away. Changing this bug to CLOSED.