The following testcase ICEs on various (dwarf2 using) targets with -g: namespace N { };
struct T { T () { using namespace N; } }; void bar () { struct U : public T { void baz () { using namespace N; } } u; } This is a regression from GCC 3.4.x, present on both gcc-4_0-branch and on HEAD. -- Summary: [4.0/4.1 Regression] ICE in dwarf2out_finish Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at redhat dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22489