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.