[Bug other/122243] Hundreds of options are missing @opindex entries in manual
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 25 20:47:58 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122243
--- Comment #73 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <sandra@gcc.gnu.org>:
https://gcc.gnu.org/g:bd0740e6301e3f67b43d181d0b6a0d0d71aa91fa
commit r16-7023-gbd0740e6301e3f67b43d181d0b6a0d0d71aa91fa
Author: Sandra Loosemore <sloosemore@baylibre.com>
Date: Mon Jan 12 01:08:11 2026 +0000
doc: -g debug option documentation cleanup [PR122243]
This patch corrects the option summary for debug options, adds missing
@opindex entries, and copy-edits the option descriptions in this section
of the manual.
I also marked -gtoggle as RejectNegative; given its documented special
handling, it does not seem possible to use the negative form to override
an earlier positive option.
gcc/ChangeLog
PR other/122243
* common.opt (gtoggle): Mark RejectNegative.
* doc/invoke.texi (Option Summary) <Debugging Options>: Remove
redundant -gno- forms from the list.
(Debugging Options): Add @opindex for -gno- option forms.
Copy-edit option descriptions to avoid future tense and use of
implementor jargon.
More information about the Gcc-bugs
mailing list