ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac

micis@gmx.de micis@gmx.de
Mon Sep 13 09:32:00 GMT 2004


Hello,
I downloaded the snapshot gcc-4.0-20040912.tar.bz2 and compiled it with:
../gcc40/configure --prefix=/usr/local/gcc40 --program-suffix=40
 --with-cpu=G5 --enable-altivec --enable-languages=c,c++
 --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac

I get following ICE:
/home/cie019/gcc40/obj/gcc/xgcc -B/home/cie019/gcc40/obj/gcc/
-B/usr/local/gcc40/powerpc-unknown-linux-gnu/bin/
-B/usr/local/gcc40/powerpc-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc40/powerpc-unknown-linux-gnu/include -isystem
/usr/local/gcc40/powerpc-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc40/gcc
-I../../gcc40/gcc/. -I../../gcc40/gcc/../include
-I../../gcc40/gcc/../libcpp/include   -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -msdata=none \
   -c ../../gcc40/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
<built-in>:0: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have integer_type in fold_checksum_tree, at
fold-const.c:9181
Please submit a full bug report,
with preprocessed source if appropriate.

when I configure with:
../gcc40/configure --prefix=/usr/local/gcc40 --program-suffix=40
 --with-cpu=G5 --enable-altivec --enable-languages=c,c++
 --enable-checking
compilation works fine.

Is this a known error? Should I submit a bug report?

Michael Cieslinski



More information about the Gcc mailing list