diff options
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/i386/sfp-machine.h | 3 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr32268.c | 6 |
4 files changed, 21 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6fc4d4b..b75e608 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2008-02-17 Uros Bizjak <ubizjak@gmail.com> + + Revert: + + 2008-02-15 Uros Bizjak <ubizjak@gmail.com> + * config/i386/sfp-machine.h (CMPtype): Define as typedef using + libgcc_cmp_return mode. + 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c/28368 diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h index f4bf879..b7625c0 100644 --- a/gcc/config/i386/sfp-machine.h +++ b/gcc/config/i386/sfp-machine.h @@ -10,8 +10,7 @@ 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. */ - -typedef int CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); +#define CMPtype long #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/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7458c02..8bfa223 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-02-17 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/pr32268.c (test_lt): Add noinline attribute. + (test_gt): Ditto. + 2008-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * obj-c++.dg/encode-2.mm: XFAIL. @@ -6,9 +11,9 @@ 2008-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Paolo Carlini <pcarlini@suse.de> - * g++.dg/ext/has_nothrow_assign.C: Skip some tests when __PIC__. - * g++.dg/ext/has_nothrow_constructor.C: Likewise. - * g++.dg/ext/has_nothrow_copy.C: Likewise. + * g++.dg/ext/has_nothrow_assign.C: Skip some tests when __PIC__. + * g++.dg/ext/has_nothrow_constructor.C: Likewise. + * g++.dg/ext/has_nothrow_copy.C: Likewise. 2008-02-16 Uros Bizjak <ubizjak@gmail.com> diff --git a/gcc/testsuite/gcc.target/i386/pr32268.c b/gcc/testsuite/gcc.target/i386/pr32268.c index f67da9b..472259c 100644 --- a/gcc/testsuite/gcc.target/i386/pr32268.c +++ b/gcc/testsuite/gcc.target/i386/pr32268.c @@ -4,12 +4,14 @@ extern void abort(void); -int test_lt(__float128 x, __float128 y) +int __attribute__ ((__noinline__)) +test_lt(__float128 x, __float128 y) { return x < y; } -int test_gt (__float128 x, __float128 y) +int __attribute__ ((__noinline__)) +test_gt (__float128 x, __float128 y) { return x > y; } |