From e6528d32a44a94c5df64cd283428f7121dc66fd7 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 17 Feb 2008 12:54:45 +0100 Subject: [PATCH] Revert: 2008-02-15 Uros Bizjak * config/i386/sfp-machine.h (CMPtype): Define as typedef using libgcc_cmp_return mode. testsuite/ChangeLog: * gcc.target/i386/pr32268.c (test_lt): Add noinline attribute. (test_gt): Ditto. From-SVN: r132377 --- gcc/ChangeLog | 8 ++++++++ gcc/config/i386/sfp-machine.h | 3 +-- gcc/testsuite/ChangeLog | 11 ++++++++--- gcc/testsuite/gcc.target/i386/pr32268.c | 6 ++++-- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6fc4d4b367af..b75e608e9ef8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2008-02-17 Uros Bizjak + + Revert: + + 2008-02-15 Uros Bizjak + * config/i386/sfp-machine.h (CMPtype): Define as typedef using + libgcc_cmp_return mode. + 2008-02-16 Manuel Lopez-Ibanez PR c/28368 diff --git a/gcc/config/i386/sfp-machine.h b/gcc/config/i386/sfp-machine.h index f4bf8796f9fd..b7625c0ed3c4 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 7458c0263716..8bfa223a170e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-02-17 Uros Bizjak + + * gcc.target/i386/pr32268.c (test_lt): Add noinline attribute. + (test_gt): Ditto. + 2008-02-16 Kaveh R. Ghazi * obj-c++.dg/encode-2.mm: XFAIL. @@ -6,9 +11,9 @@ 2008-02-16 Kaveh R. Ghazi Paolo Carlini - * 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 diff --git a/gcc/testsuite/gcc.target/i386/pr32268.c b/gcc/testsuite/gcc.target/i386/pr32268.c index f67da9b7cd97..472259c1ebac 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; } -- 2.47.2