Current trunk's g++ ICE's on the attached testcase when compiling with -O: /scratch/martin/cleanls>g++ -v -O -c bug.ii Using built-in specs. Target: i686-pc-linux-gnu Configured with: /scratch/martin/gcc/configure --prefix=/afs/mpa/data/martin/ugcc --enable-languages=c++,fortran --enable-checking=release Thread model: posix gcc version 4.3.0 20070410 (experimental) /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1plus -fpreprocessed bug.ii -quiet -dumpbase bug.ii -mtune=generic -auxbase bug -O -version -o /tmp/ccx57rja.s GNU C++ version 4.3.0 20070410 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.3.0 20070410 (experimental). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 107a3cf2e8248586e6673669df88f7f9 sat_info.cc: In function 'void readEntirePointing(iohandle&, const std::string&, const std::string&, arr<pointing>&)': sat_info.cc:18: internal compiler error: in alloc_aux_for_block, at cfg.c:665 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I'm sorry that I currently don't have the time to reduce the testcase further. -- Summary: [4.3 regression] ICE in alloc_aux_for_block() Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: martin at mpa-garching dot mpg dot de GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31526