For namespace A { int i; } void f () { using namespace A; i++; }
with -g -dA g++ 4.3 used correct .byte 0x9 # DW_AT_decl_line for DW_TAG_imported*, but 4.4 uses .byte 0xb # DW_AT_decl_line (which is the end of the function, not the location of the using namespace directive). -- Summary: [4.4 Regression] Wrong DW_AT_decl_line on DW_TAG_imported* for using directives in C+ functions Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: jakub at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39387