aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-04-14 11:52:17 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2011-04-14 11:52:17 +0000
commit77b104859e6bc366202bafa2f0490aa8f05ba4a1 (patch)
tree76dcc580673dcfc67308036cf952efd94db8303c /gcc
parent61e46a7d5e8031930c341dc122ba614d6970886b (diff)
downloadgcc-77b104859e6bc366202bafa2f0490aa8f05ba4a1.zip
gcc-77b104859e6bc366202bafa2f0490aa8f05ba4a1.tar.gz
gcc-77b104859e6bc366202bafa2f0490aa8f05ba4a1.tar.bz2
options.texi (Negative): Explicitly mention that the Negative chain must be circular.
gcc/ * doc/options.texi (Negative): Explicitly mention that the Negative chain must be circular. From-SVN: r172419
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/options.texi7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0aa3fab..a0c881d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-14 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * doc/options.texi (Negative): Explicitly mention that the
+ Negative chain must be circular.
+
2011-04-14 Nathan Froyd <froydnj@codesourcery.com>
* function.h (block_chainon): Declare.
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 69e7364..edab7a9 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -222,6 +222,13 @@ the option name with the leading ``-'' removed. This chain action will
propagate through the @code{Negative} property of the option to be
turned off.
+As a consequence, if you have a group of mutually-exclusive
+options, their @code{Negative} properties should form a circular chain.
+For example, if options @option{-@var{a}}, @option{-@var{b}} and
+@option{-@var{c}} are mutually exclusive, their respective @code{Negative}
+properties should be @samp{Negative(@var{b})}, @samp{Negative(@var{c})}
+and @samp{Negative(@var{a})}.
+
@item Joined
@itemx Separate
The option takes a mandatory argument. @code{Joined} indicates