I've committed the attached patch.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Wed, 27 Mar 2013 07:46:19 +0000 (07:46 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 27 Mar 2013 07:46:19 +0000 (07:46 +0000)
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
gcc/config/s390/s390.h

index b06de3b..a6e9c1b 100644 (file)
@@ -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.
index bd0bc23..43e24d5 100644 (file)
@@ -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.  */