https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
Bruno Haible <bruno at clisp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #12 from Bruno Haible <bruno at clisp dot org> --- (In reply to Aaron Ballman from comment #10) > 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 a macro, so the user > may not even be aware which syntax is being used. Yes, exactly that's the situation in GNU gnulib. And it's not only a temporary problem, during some migration time. In fact, some of the gcc __attribute__s will probably never be available in [[...]] syntax. Thus our software will always continue to use __attribute__. And if [[...]] does not mix well with it, we will never use the [[...]] syntax for any attribute.