summaryrefslogtreecommitdiff
path: root/gcc/doc/options.texi
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-30 06:26:20 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-30 06:26:20 +0000
commit7b3936d269b758d4e8b101f71d748341900d0241 (patch)
treeb152d202dc17656211a9a89321ad98a6b1221dd2 /gcc/doc/options.texi
parenta150399de633299feeb20899e9b178895dae0c1c (diff)
downloadgcc-7b3936d269b758d4e8b101f71d748341900d0241.tar.gz
* doc/options.texi: Document the new MaskExists flag.
* opth-gen.awk: Don't output MASK and TARGET macros for Mask(...) if the option has the MaskExists flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97238 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r--gcc/doc/options.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 138ebdb838d..959f952fc94 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -144,6 +144,7 @@ The options-processing script will automatically allocate a unique
bit for the option and set the macro @code{MASK_@var{name}} to the
appropriate bitmask. It will also declare a @code{TARGET_@var{name}}
macro that has the value 1 when the option is active and 0 otherwise.
+You can disable this behavior using @code{MaskExists}.
@item InverseMask(@var{othername})
@itemx InverseMask(@var{othername}, @var{thisname})
@@ -152,6 +153,15 @@ The option is the inverse of another option that has the
the options-processing script will declare a @code{TARGET_@var{thisname}}
macro that is 1 when the option is active and 0 otherwise.
+@item MaskExists
+The mask specified by the @code{Mask} property already exists.
+No @code{MASK} or @code{TARGET} definitions should be added to
+@file{options.h} in response to this option record.
+
+The main purpose of this property is to support synonymous options.
+The first option should use @samp{Mask(@var{name})} and the others
+should use @samp{Mask(@var{name}) MaskExists}.
+
@item Report
The state of the option should be printed by @option{-fverbose-asm}.