From: Uros Bizjak Date: Tue, 19 Feb 2008 07:14:10 +0000 (+0100) Subject: sfp-machine.h (__gcc_CMPtype): New typedef. X-Git-Tag: releases/gcc-4.4.0~6429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d353cfc901c7d7f57376029ef89ca1a043043b;p=thirdparty%2Fgcc.git sfp-machine.h (__gcc_CMPtype): New typedef. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7201027a8034..3a23574f7686 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2008-02-19 Uros Bizjak + + * 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 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 b7625c0ed3c4..190e3cb0e81a 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 29173e235dcc..a0d1631bbb8b 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) \