public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc/options.texi: Fix the discription of 'Negative'.
@ 2021-04-28  9:24 Geng Qi
  2021-04-28 16:00 ` Martin Sebor
  2021-05-01  3:55 ` Jim Wilson
  0 siblings, 2 replies; 3+ messages in thread
From: Geng Qi @ 2021-04-28  9:24 UTC (permalink / raw)
  To: gcc-patches, hongjiu.lu; +Cc: Geng Qi

gcc/ChangeLog:
	* doc/options.texi (Negative): Fix the discription so that it matches
	the code implementation of prune_options().
---
 gcc/doc/options.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 2057629..37386ca 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -223,8 +223,8 @@ propagate through the @code{Negative} property of the option to be
 turned off.  The driver will prune options, removing those that are
 turned off by some later option.  This pruning is not done for options
 with @code{Joined} or @code{JoinedOrMissing} properties, unless the
-options have either @code{RejectNegative} property or the @code{Negative}
-property mentions an option other than itself.
+options have both @code{RejectNegative} property and the @code{Negative}
+property mentions itself.
 
 As a consequence, if you have a group of mutually-exclusive
 options, their @code{Negative} properties should form a circular chain.
-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-01  3:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  9:24 [PATCH] doc/options.texi: Fix the discription of 'Negative' Geng Qi
2021-04-28 16:00 ` Martin Sebor
2021-05-01  3:55 ` Jim Wilson

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).