https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Last reconfirmed| |2021-08-17 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- If the only thing the new option is meant to control is -Wattributes warnings I tend to agree that adding an optional argument to -Wattributes= would be a natural enhancement. (Similar to -Wnormalized= or -Wsuggest-attribute= except with a free-form string as an argument). I would expect the existing diagnostic pragmas to work with it too: #pragma GCC ignored "-Wattributes=vendor::attr1"