https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2017-09-25 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> --- Confirmed that gcc silently accepts the example. I think it'd be okay to just issue a warning from -Wattributes or something though, instead of rejecting it completely.