I build gcc from the actual snapshot gcc-4.0-20050116. When I compile boost_1_32_0 I get an ICE when I execute the self tests. This ICE only occurs if I use the "-g" option.
Michael Cieslinski g++ -g -c -o current_function_test.o current_function_test.ii ../libs/utility/test/../current_function_test.cpp: In function 'void message (const char*, long int, const char*, const char*)': ../libs/utility/test/../current_function_test.cpp:27: internal compiler error: tree check: expected class 'declaration', have 'exceptional' (@@dummy) in lookup_decl_die, at dwarf2out.c:5415 Please submit a full bug report, with preprocessed source if appropriate. gcc -v Using built-in specs. Configured with: ../gcc40/configure --with-arch=opteron --enable- languages=c,c++ --enable-checking Thread model: posix gcc version 4.0.0 20050116 (experimental) -- Summary: ICE: tree check: lookup_decl_die, at dwarf2out.c:5415 (boost_1_32_0 utility/current_function_test) 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: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19536