http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55355
Bug #: 55355 Summary: internal compiler error: in tree_low_cst, at tree.c:6415 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@sentientmeat.ca Created attachment 28711 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28711 Minimal C++ file to reproduce gcc 3.4.6 ICE in tree_low_cst, at tree.c:6415 The attached file produces the following error when compiled with gcc 3.4.6: $ /usr/local/gcc-4.6.3/bin/g++ -O2 -save-temps -c test.cpp test.cpp: In member function 'void C::funcC()': test.cpp:34:1: internal compiler error: in tree_low_cst, at tree.c:6415 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gcc 3.4.6 is configured thusly: $ /usr/local/gcc-4.6.3/bin/g++ -v Using built-in specs. COLLECT_GCC=/usr/local/gcc-4.6.3/bin/g++ COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.3/bin/../libexec/gcc/i686-pc-linux-gnu/4.6.3/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../gcc-4.6.3/configure --prefix=/opt/soldev/gcc-4.6.3 --with-gnu-as --with-gnu-ld --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 4.6.3 (GCC)