summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-19 07:14:10 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-19 07:14:10 +0000
commit2a5abea14dcda53484187857d4fc33fc741a9dd9 (patch)
tree621cd2b5aa7b8d2f63ae03ff9c3a8c97dd56d4ed
parenta7779e7501b3b5de7cdc621f737f72098c2d620c (diff)
downloadppe42-gcc-2a5abea14dcda53484187857d4fc33fc741a9dd9.tar.gz
ppe42-gcc-2a5abea14dcda53484187857d4fc33fc741a9dd9.zip
* config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
(CMPtype): Define as __gcc_CMPtype. * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. (CMPtype): Define as __gcc_CMPtype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132413 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/sfp-machine.h3
-rw-r--r--gcc/config/rs6000/sfp-machine.h5
3 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7201027a803..3a23574f768 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-19 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
+ (CMPtype): Define as __gcc_CMPtype.
+ * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef.
+ (CMPtype): Define as __gcc_CMPtype.
+
2008-02-19 Hans-Peter Nilsson <hp@axis.com>
Support valgrind 3.3 for --enable-checking=valgrind.
diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h
index b7625c0ed3c..190e3cb0e81 100644
--- a/gcc/config/i386/sfp-machine.h
+++ b/gcc/config/i386/sfp-machine.h
@@ -10,7 +10,8 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
/* The type of the result of a floating point comparison. This must
match `__libgcc_cmp_return__' in GCC for the target. */
-#define CMPtype long
+typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
+#define CMPtype __gcc_CMPtype
#define _FP_MUL_MEAT_Q(R,X,Y) \
_FP_MUL_MEAT_2_wide(_FP_WFRACBITS_Q,R,X,Y,umul_ppmm)
diff --git a/gcc/config/rs6000/sfp-machine.h b/gcc/config/rs6000/sfp-machine.h
index 29173e235dc..a0d1631bbb8 100644
--- a/gcc/config/rs6000/sfp-machine.h
+++ b/gcc/config/rs6000/sfp-machine.h
@@ -3,6 +3,11 @@
#define _FP_WS_TYPE signed long
#define _FP_I_TYPE long
+/* The type of the result of a floating point comparison. This must
+ match `__libgcc_cmp_return__' in GCC for the target. */
+typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
+#define CMPtype __gcc_CMPtype
+
#define _FP_MUL_MEAT_S(R,X,Y) \
_FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm)
#define _FP_MUL_MEAT_D(R,X,Y) \
OpenPOWER on IntegriCloud