[Bug debug/48603] Missing DW_TAG_typedef for anonymous struct in template
tromey at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 18 15:41:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list