// { dg-do compile } // { dg-options "-g -feliminate-dwarf2-dups" }
namespace N { } struct A { void foo (); }; void A::foo () { using namespace N; } ICEs with gcc-4_{0,1}-branch and HEAD in build_abbrev_table, as DW_TAG_namespace die that is being referenced doesn't have die_symbol. -- Summary: [4.0/4.1/4.2 Regression] ICE with -feliminate-dwarf2- dups and using namespace Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27057