aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeng Qi <gengqi@linux.alibaba.com>2021-04-28 17:24:32 +0800
committerJim Wilson <jimw@sifive.com>2021-04-30 20:53:27 -0700
commit69c426b89579312af91035c26fb1e270bfbcad00 (patch)
tree884b179646a8b5a9f8f6a7e591133fecc96d994e
parent9326049e1abd28b468dbb02f8c0c2477111a1e41 (diff)
downloadgcc-69c426b89579312af91035c26fb1e270bfbcad00.zip
gcc-69c426b89579312af91035c26fb1e270bfbcad00.tar.gz
gcc-69c426b89579312af91035c26fb1e270bfbcad00.tar.bz2
doc/options.texi: Fix the description of 'Negative'.
gcc/ChangeLog: * doc/options.texi (Negative): Change either or to both and.
-rw-r--r--gcc/doc/options.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 2057629..ce5e2e4 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 the @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.