diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-14 14:18:01 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-14 14:18:01 +0000 |
commit | 2e9da478edf45047e522074479ad7646cb4c4e68 (patch) | |
tree | 8e99c7d2af7c48b5b41eea44cd56ece27f2296b4 /gcc/c.opt | |
parent | 08faa217dd0cad967e3747cf25133fd2b0ca7c65 (diff) | |
download | gcc-2e9da478edf45047e522074479ad7646cb4c4e68.tar.gz |
* Makefile.in (FLAGS_H): New.
(flags.h): Replace by FLAGS_H.
* c.opt: Document Var, VarExists, Init and Report attributes.
* common.opt: Fill the values of the attributes.
* diagnostic.c (flag_fatal_errors): Do not define.
* except.c (flag_non_call_exceptions): Do not define.
* flags.h: Include options.h. Remove declarations conflicting with
the automatically defined ones.
* opts.c: Remove automatically defined variables.
(handle_option): Perform default initialization.
(common_handle_option): Do not handle options covered by the
default initialization.
* opts.h (struct cl_option): Add flag_var, has_set_value and set_value
fields.
(CL_REPORT): New.
* opts.sh: Generate variable declarations, handle CL_REPORT.
* toplev.c: Remove automatically defined variables.
(f_options): Removed.
(print_switch_values): Use cl_options instead of f_options.
* toplev.h (version_flag): Declaration removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 209f43ed4c8..9f3e79a0493 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -36,7 +36,14 @@ ; "JoinedOrMissing" instead of "Joined". If the argument to a switch ; is a non-negative integer, you can specify "UInteger" and the switch ; decoder will convert the argument for you, or complain to the user -; if the argument is invalid. +; if the argument is invalid. "Var(name,set)" creates an integer +; variable "name". The variable is declared and initialized to value +; given by "Init(value)" (or zero if this property is not defined). +; When the option is passed to compiler, this variable is set to "set" +; if value passed through the flag is nonzero, !"set" if value is zero, +; or to value if "set" is omitted. If "VarExists" is specified, the +; declaration for the variable is not created. If "Report" is specified, +; the flag is output with -fverbose-asm. ; The third field is the help text to output with --help. This is ; automatically line-wrapped on output. Normally the switch is output |