public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5423] [docs] note that -g opts are implicitly negatable too
@ 2023-01-27 1:55 Alexandre Oliva
0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-01-27 1:55 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:575056672b3fec0cb4f5ddafd2d4a8c42b83589b
commit r13-5423-g575056672b3fec0cb4f5ddafd2d4a8c42b83589b
Author: Alexandre Oliva <oliva@gnu.org>
Date: Thu Jan 26 22:52:07 2023 -0300
[docs] note that -g opts are implicitly negatable too
Back in 2017, I made -g* options implicitly negatable, without
realizing there was documentation that required updating. Oops.
Fixed, at last!
for gcc/ChangeLog
* doc/options.texi (option, RejectNegative): Mention that
-g-started options are also implicitly negatable.
Diff:
---
gcc/doc/options.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index c6e73fd1818..f50063c9787 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -161,7 +161,7 @@ the help text to use for @option{--help} (omitted if the second field
contains the @code{Undocumented} property).
@end enumerate
-By default, all options beginning with ``f'', ``W'' or ``m'' are
+By default, all options beginning with ``f'', ``g'', ``W'' or ``m'' are
implicitly assumed to take a ``no-'' form. This form should not be
listed separately. If an option beginning with one of these letters
does not have a ``no-'' form, you can use the @code{RejectNegative}
@@ -239,8 +239,8 @@ and should not be accepted by the driver.
@item RejectNegative
The option does not have a ``no-'' form. All options beginning with
-``f'', ``W'' or ``m'' are assumed to have a ``no-'' form unless this
-property is used.
+``f'', ``g'', ``W'' or ``m'' are assumed to have a ``no-'' form unless
+this property is used.
@item Negative(@var{othername})
The option will turn off another option @var{othername}, which is
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-27 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 1:55 [gcc r13-5423] [docs] note that -g opts are implicitly negatable too Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).