summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-12 18:54:26 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-12 18:54:26 +0000
commit0f60a83499ddae594222a3a8763a09a24cfe5959 (patch)
treef0a289833ed7a9c5074404c06efcf02d98c1d2ef /gcc/flags.h
parentc3997e3d46be5d16e7ae76140e666d853bb537c9 (diff)
downloadgcc-0f60a83499ddae594222a3a8763a09a24cfe5959.tar.gz
gcc/
* flags.h (target_flagstate): Add x_flag_excess_precision. (flag_excess_precision): Redefine as a macro. * toplev.c (flag_excess_precision): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162096 138bc75d-0d04-0410-961f-82ee72b054a4
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;