[Bug c++/65558] [5 Regression] crash using __attribute__((__abi_tag__)) on anonymous inline namespace

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 25 18:07:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65558

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #2)
> If it is correct to ignore the abi_tag on an anonymous namespace

It's correct, anything in an anon namespace cannot be named outside the current
translation unit, so there's no point changing its mangling or warning about
what happens when it's used by another TU.



More information about the Gcc-bugs mailing list