https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110847
Bug ID: 110847 Summary: Inaccurate GCC documentation about -Wtsan and -Wxor-used-as-pow warnings Product: gcc Version: unknown URL: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.htm l Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: rogerio.souza at gmail dot com Target Milestone: --- On GCC online docs warnings page (https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html) there is the following explanation: "You can request many specific warnings with options beginning with ‘-W’, for example -Wimplicit to request warnings on implicit declarations. Each of these specific warning options also has a negative form beginning ‘-Wno-’ to turn off warnings; for example, -Wno-implicit. >>>This manual lists only one of the two forms, whichever is not the default<<<" However both -Wtsan and -Wxor-used-as-pow are listed as if they weren't on by default, but have the "This warning is enabled by default" text on their description. If the text above states that the documentation lists only one of the two forms, whichever is not the default, then it might be missleading. Regards, Rogerio