https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124935
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Keywords| |diagnostic, documentation
Last reconfirmed| |2026-04-21
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
-Wextra should be a switch that only enables other -W options, not control
individual diagnostics by itself. There is a list of diagnostics
documented which, as you say, looks incomplete.
Thanks for reporting.