* config/i386/sfp-machine.h (__gcc_CMPtype): New typedef.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2008 07:14:10 +0000 (07:14 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2008 07:14:10 +0000 (07:14 +0000)
        (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

gcc/ChangeLog
gcc/config/i386/sfp-machine.h
gcc/config/rs6000/sfp-machine.h

index 7201027..3a23574 100644 (file)
@@ -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.
index b7625c0..190e3cb 100644 (file)
@@ -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)
index 29173e2..a0d1631 100644 (file)
@@ -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)                          \