Hey gang,
I wanted to see if I'm missing something obvious before I file a bug on
this. With svn r181272, I am doing:
$ ../configure --enable-bootstrap --prefix=/home/matt
--enable-languages=c,c++ --enable-stage1-checking=all
[...]
$ make
[...]
/home/matt/src/gcc-trunk/obj/./gcc/xgcc
-B/home/matt/src/gcc-trunk/obj/./gcc/
-B/home/matt/x86_64-unknown-linux-gnu/bin/
-B/home/matt/x86_64-unknown-linux-gnu/lib/ -isystem
/home/matt/x86_64-unknown-linux-gnu/include -isystem
/home/matt/x86_64-unknown-linux-gnu/sys-include -g -O2 -m32 -O2 -g -O2
-DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector
-fpic -I. -I. -I../../.././gcc -I../../../../libgcc -I../../../../libgcc/.
-I../../../../libgcc/../gcc -I../../../../libgcc/../include
-I../../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF
_muldi3.dep -DL_muldi3 -c ../../../../libgcc/libgcc2.c -fvisibility=hidden
-DHIDE_EXPORTS
../../../../libgcc/libgcc2.c: In function __muldi3:
../../../../libgcc/libgcc2.c:553:3: internal compiler error: tree check:
expected tree that contains typed structure, have block in
fold_checksum_tree, at fold-const.c:13996
I get the same results when setting CC and CXX to be gcc-4.4 and g++-4.4
respectively (the default system compiler on Ubuntu 11.10 is 4.6.1-based).
Running the commandline that causes the ICE with -O1 also elicits the
problem. Setting BOOT_CFLAGS and CFLAGS to -O1 doesn't help matters.
Am I missing something, or is this a real bug?
Thanks!
--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt