summaryrefslogtreecommitdiff
path: root/gcc/doc/options.texi
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 12:30:06 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 12:30:06 +0000
commit5c5ccba291e6d6a7763b8b2a773503c7a0659306 (patch)
tree1a880bfd7d5dee689ffa88c4d78e2661c5086ffd /gcc/doc/options.texi
parentb047d60e90a81d9f53fce792fdbfd2d6ec126102 (diff)
downloadgcc-5c5ccba291e6d6a7763b8b2a773503c7a0659306.tar.gz
* Makefile.in (options.c): Tell optc-gen.awk to include config.h,
system.h, coretypes.h and tm.h. (options.o): Update dependencies accordingly. * optc-gen.awk: Allow header_name to be a list of filenames. Handle the "Condition" flag. * opts.h (CL_DISABLED): New flag. * opts.c (handle_option): Print an error for CL_DISABLED options. * doc/options.texi: Document the "Condition" option flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99774 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/options.texi')
-rw-r--r--gcc/doc/options.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 2ab189317da..307a325e5de 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -191,4 +191,11 @@ The state of the option should be printed by @option{-fverbose-asm}.
@item Undocumented
The option is deliberately missing documentation and should not
be included in the @option{--help} output.
+
+@item Condition(@var{cond})
+The option should only be accepted if preprocessor condition
+@var{cond} is true. Note that any C declarations associated with the
+option will be present even if @var{cond} is false; @var{cond} simply
+controls whether the option is accepted and whether it is printed in
+the @option{--help} output.
@end table