aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-09-17 15:14:49 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-09-17 15:14:49 +0100
commite90afde6fe471ff16c06e00709fe51421d073724 (patch)
treeb975a487ff46cf6a7b61b28aaa2fde8f9ec2cd09 /gcc/doc
parent2d5581f1b2a140e1ca0bf4d3256457939fc3e6a3 (diff)
downloadgcc-e90afde6fe471ff16c06e00709fe51421d073724.zip
gcc-e90afde6fe471ff16c06e00709fe51421d073724.tar.gz
gcc-e90afde6fe471ff16c06e00709fe51421d073724.tar.bz2
options.texi (Variable): Document.
* doc/options.texi (Variable): Document. * optc-gen.awk, opth-gen.awk: Handle Variable records. Don't generate target_flags declarations explicitly. Don't define VarExists variables for the driver. * common.opt (target_flags): New Variable record. (flag_dump_unnumbered, flag_dump_unnumbered_links, flag_var_tracking, flag_var_tracking_assignments, flag_var_tracking_assignments_toggle): Don't mark variables with VarExists. * config/i386/i386.c (ix86_isa_flags): Don't define here. * config/i386/i386.opt (ix86_isa_flags): Define here. * config/mcore/mcore.c (mcore_stack_increment): Don't define here. * config/mcore/mcore.opt (mcore_stack_increment): Don't mark with VarExists. * flags.h (flag_dump_unnumbered, flag_var_tracking): Remove. * print-rtl.c (flag_dump_unnumbered, flag_dump_unnumbered_links): Only define for generator programs. * rtlanal.c (target_flags): Remove. * toplev.c (flag_var_tracking, flag_var_tracking_assignments, flag_var_tracking_assignments_toggle): Remove. From-SVN: r164370
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/options.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index c224bbd..924ac17 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -41,6 +41,17 @@ records have two fields: the string @samp{TargetSave}, and a
declaration type to go in the @code{cl_target_option} structure.
@item
+A variable record to define a variable used to store option
+information. These records have two fields: the string
+@samp{Variable}, and a declaration of the type and name of the
+variable, optionally with an initializer (but without any trailing
+@samp{;}). These records may be used for variables used for many
+options where declaring the variable and its initializer by omitting
+@code{VarExists} from a single option definition record would be
+inappropriate, or for variables set in option handlers rather than
+referenced by @code{Var} properties.
+
+@item
An option definition record. These records have the following fields:
@enumerate
@item