summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-07-12 18:54:26 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-07-12 18:54:26 +0000
commitb6609375319133de3e9a46d3477369482b92f9fa (patch)
treef0a289833ed7a9c5074404c06efcf02d98c1d2ef /gcc/flags.h
parentbcbaaba1a33590a2795a9e49228943466e360315 (diff)
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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 32f9fbfc493..93221b4409c 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;