From a5ba7b9285d61308b3bf6ee8d72636806575c11a Mon Sep 17 00:00:00 2001 From: Andreas Krebbel <Andreas.Krebbel@de.ibm.com> Date: Wed, 27 Mar 2013 07:46:19 +0000 Subject: [PATCH] I've committed the attached patch. 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. --- gcc/config/s390/s390.h | 5 +++++ 1 file changed, 5 insertions(+) Index: gcc/config/s390/s390.h =================================================================== *** gcc/config/s390/s390.h.orig --- gcc/config/s390/s390.h *************** enum processor_flags *** 164,169 **** --- 164,174 ---- #define S390_TDC_INFINITY (S390_TDC_POSITIVE_INFINITY \ | S390_TDC_NEGATIVE_INFINITY ) + /* This is used by float.h to define the float_t and double_t data + types. For historical reasons both are double on s390 what cannot + be changed anymore. */ + #define TARGET_FLT_EVAL_METHOD 1 + /* Target machine storage layout. */ /* Everything is big-endian. */ From-SVN: r197154 --- gcc/ChangeLog | 4 ++++ gcc/config/s390/s390.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b06de3b2bae6..a6e9c1bbf624 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. + 2013-03-27 Terry Guo <terry.guo@arm.com> * config/arm/arm-cores.def: Added core cortex-r7. diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index bd0bc232a5dd..43e24d5d1124 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -164,6 +164,11 @@ enum processor_flags #define S390_TDC_INFINITY (S390_TDC_POSITIVE_INFINITY \ | S390_TDC_NEGATIVE_INFINITY ) +/* This is used by float.h to define the float_t and double_t data + types. For historical reasons both are double on s390 what cannot + be changed anymore. */ +#define TARGET_FLT_EVAL_METHOD 1 + /* Target machine storage layout. */ /* Everything is big-endian. */ -- GitLab