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/48603] Missing DW_TAG_typedef for anonymous struct in template


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48603

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu.org

--- Comment #5 from Tom Tromey <tromey at gcc dot gnu.org> 2011-04-18 15:40:33 UTC ---
(In reply to comment #4)

> Yes, it's exactly the mangling which we can't perform at LTO time and thus
> to preserve this extension we'd have to compute DECL_ASSEMBLER_NAME for
> all type-decls as well, not just for entities that will have symbols.

FWIW, this particular extension is only needed for the oddball case of
a typedef of an anonymous struct:

typedef struct { ... } X;

That is, most types don't need a linkage name attribute.


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