https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84063
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-26 Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. Most interesting instances of -Wattributes are in conflict with what the manual says and would better fit the description for -Wignored-attributes. -Wattributes is meant for invalid attributes (either syntactically or contextually) while -Wignored-attributes for syntactically valid ones that conflict in some way either with another declaration of the same entity or with another attribute or specifier on the same declaration. It would be a pervasive change to adjust all the warnings to fit the documented purpose but if there's support for it I'm willing to do it in GCC 9.