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

--- Comment #10 from Stephan Bergmann <sbergman at redhat dot com> ---
(In reply to Andrew Pinski from comment #9)
> There does seems some inconsitency though:
> inline namespace n __attribute__((__abi_tag__(""))) {}
> is rejected but
> inline namespace n __attribute__((__abi_tag__())) {}
> 
> Is not.

How is that inconsistent?  When providing the empty string as argument, it is
rejected with "arguments to the ‘abi_tag’ attribute must contain valid
identifiers" (just like e.g.

> inline namespace n __attribute__((__abi_tag__("+"))) {}

would be, too).  But when providing no argument, the behavior documented in
attachment 36974 "updated documentation patch" kicks in.

Reply via email to