https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
Andrew Pinski changed:
What|Removed |Added
CC||gjl at gcc dot gnu.org
--- Comment #11
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
--- Comment #10 from Aaron Ballman ---
One other reason for the Clang behavior that may be worth mentioning is that
this helps users who wish to migrate away from `__attribute__` and towards
`[[]]`. Many (most?) uses of attributes end up behind
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
--- Comment #9 from Aaron Ballman ---
> GNU attributes are declaration specifiers *in the previous examples given
> here*, not necessarily in all other cases.
Thanks for clarifying!
> (There is then logic in GCC to handle __attribute__ that,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
--- Comment #8 from joseph at codesourcery dot com ---
On Thu, 16 Feb 2023, aaron at aaronballman dot com via Gcc-bugs wrote:
> > The logic is that GNU attributes are declaration specifiers (and can mix
> > anywhere with other declaration
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
Aaron Ballman changed:
What|Removed |Added
CC||aaron at aaronballman dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
--- Comment #6 from joseph at codesourcery dot com ---
The logic is that GNU attributes are declaration specifiers (and can mix
anywhere with other declaration specifiers), but standard attributes
aren't declaration specifiers; rather, they
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
Andrew Pinski changed:
What|Removed |Added
Summary|GCC 13 accepts [[noreturn]] |Can't intermix C2x and GNU