This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac


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.

Michael Cieslinski

-- 
           Summary: ICE with --enable-
                    checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: drow at false dot org,gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]