diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-07-12 18:54:26 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2010-07-12 18:54:26 +0000 |
commit | b6609375319133de3e9a46d3477369482b92f9fa (patch) | |
tree | f0a289833ed7a9c5074404c06efcf02d98c1d2ef /gcc/flags.h | |
parent | bcbaaba1a33590a2795a9e49228943466e360315 (diff) | |
download | gcc-b6609375319133de3e9a46d3477369482b92f9fa.zip gcc-b6609375319133de3e9a46d3477369482b92f9fa.tar.gz gcc-b6609375319133de3e9a46d3477369482b92f9fa.tar.bz2 |
flags.h (target_flagstate): Add x_flag_excess_precision.
gcc/
* flags.h (target_flagstate): Add x_flag_excess_precision.
(flag_excess_precision): Redefine as a macro.
* toplev.c (flag_excess_precision): Delete.
From-SVN: r162096
Diffstat (limited to 'gcc/flags.h')
-rw-r--r-- | gcc/flags.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index 32f9fbf..93221b4 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -232,10 +232,6 @@ enum excess_precision /* The excess precision specified on the command line, or defaulted by the front end. */ extern enum excess_precision flag_excess_precision_cmdline; - -/* The excess precision currently in effect. */ -extern enum excess_precision flag_excess_precision; - /* Other basic status info about current function. */ @@ -252,6 +248,9 @@ struct target_flag_state { int x_align_labels_log; int x_align_labels_max_skip; int x_align_functions_log; + + /* The excess precision currently in effect. */ + enum excess_precision x_flag_excess_precision; }; extern struct target_flag_state default_target_flag_state; @@ -275,6 +274,8 @@ extern struct target_flag_state *this_target_flag_state; (this_target_flag_state->x_align_labels_max_skip) #define align_functions_log \ (this_target_flag_state->x_align_functions_log) +#define flag_excess_precision \ + (this_target_flag_state->x_flag_excess_precision) /* Nonzero if subexpressions must be evaluated from left-to-right. */ extern int flag_evaluation_order; |