aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2016-09-29 08:41:34 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2016-09-29 08:41:34 +0000
commit75304c879397bf5179784f004076ce8ef74643a6 (patch)
tree43040dd3964e1404b0ad7ace846d3ce7d083fa2b /gcc/system.h
parentcadf629619dfee9144db937f48b76599df205b99 (diff)
downloadgcc-75304c879397bf5179784f004076ce8ef74643a6.zip
gcc-75304c879397bf5179784f004076ce8ef74643a6.tar.gz
gcc-75304c879397bf5179784f004076ce8ef74643a6.tar.bz2
[Patch] Remove all uses of TARGET_FLT_EVAL_METHOD_NON_DEFAULT and poison it
I'm going to hookize TARGET_FLT_EVAL_METHOD, so the current definition of TARGET_FLT_EVAL_METHOD_NON_DEFAULT will stop working. The relaxation enabled by TARGET_FLT_METHOD_NON_DEFAULT isn't portable, and keeping it in place is tricky, so this patch removes it, and poisons TARGET_FLT_EVAL_METHOD_NON_DEFAULT in system.h to prevent future use. gcc/ * defaults.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Remove. * system.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Poison. gcc/c-family/ * c-opts.c (c_common_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard in C++. gcc/java/ * lang.c (java_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. gcc/fortran/ * options.c (gfc_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. gcc/ada/ * gcc-interface/misc.c (gnat_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. From-SVN: r240614
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0952e4f..cc353f5 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -986,7 +986,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
EXTRA_ADDRESS_CONSTRAINT CONST_DOUBLE_OK_FOR_CONSTRAINT_P \
CALLER_SAVE_PROFITABLE LARGEST_EXPONENT_IS_NORMAL \
ROUND_TOWARDS_ZERO SF_SIZE DF_SIZE XF_SIZE TF_SIZE LIBGCC2_TF_CEXT \
- LIBGCC2_LONG_DOUBLE_TYPE_SIZE STRUCT_VALUE EH_FRAME_IN_DATA_SECTION
+ LIBGCC2_LONG_DOUBLE_TYPE_SIZE STRUCT_VALUE \
+ EH_FRAME_IN_DATA_SECTION TARGET_FLT_EVAL_METHOD_NON_DEFAULT
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \