http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53235
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-07 14:13:38 UTC --- (In reply to comment #8) > -fdebug-types-section regresses static scope of types > http://sourceware.org/bugzilla/show_bug.cgi?id=14148 > > suggests the stub DW_TAG_struct_type should not have DW_AT_declaration as we > need definition of the type at its proper scope. We have had declarations at the type's proper scope and definitions at CU scope for a very long time, and moving the definition to a type unit should work similarly. But I'm currently not putting a name on the stub to save space; would giving it a DW_AT_name make a difference?