https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79458
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Last reconfirmed| |2017-02-14 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- I think you're right, it looks like C++ attributes can appear in more/different lexical contexts than the traditional GCC __attribute__ can. Confirmed.