aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2013-03-27 07:46:19 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2013-03-27 07:46:19 +0000
commita5ba7b9285d61308b3bf6ee8d72636806575c11a (patch)
tree81c0a1c480c0c267c760e92294c9eb26ae53dacb /gcc
parentbe6249867a07c67a9c85ac575b2d1396fd5ea2bf (diff)
downloadgcc-a5ba7b9285d61308b3bf6ee8d72636806575c11a.zip
gcc-a5ba7b9285d61308b3bf6ee8d72636806575c11a.tar.gz
gcc-a5ba7b9285d61308b3bf6ee8d72636806575c11a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/s390/s390.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b06de3b..a6e9c1b 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 bd0bc23..43e24d5 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. */