From e90afde6fe471ff16c06e00709fe51421d073724 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 17 Sep 2010 15:14:49 +0100 Subject: 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 --- gcc/doc/options.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gcc/doc/options.texi') 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 -- cgit v1.1