From: Uros Bizjak Date: Sun, 17 Feb 2008 11:54:45 +0000 (+0100) Subject: Revert: X-Git-Tag: releases/gcc-4.3.0~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6528d32a44a94c5df64cd283428f7121dc66fd7;p=thirdparty%2Fgcc.git 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 --- 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; }