sfp-machine.h (__gcc_CMPtype): New typedef.
authorUros Bizjak <ubizjak@gmail.com>
Tue, 19 Feb 2008 07:14:10 +0000 (08:14 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 19 Feb 2008 07:14:10 +0000 (08:14 +0100)
        * 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.

From-SVN: r132413

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

index 7201027a80347567efc72f7d42af8c8065346442..3a23574f76866ef60e2e8dc8cb332e2f3d976703 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 b7625c0ed3c43b598a2d5f207b08e4d42a6f471e..190e3cb0e81ae58a995196a72b32cb16fee26d46 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 29173e235dcccdfbcb445f2b86e502c0df751148..a0d1631bbb8b296d55da7a44012a5ed46a5cb220 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)                          \