This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]