Revert:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2008 11:54:45 +0000 (11:54 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Feb 2008 11:54:45 +0000 (11:54 +0000)
        2008-02-15  Uros Bizjak  <ubizjak@gmail.com>
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132377 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/sfp-machine.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr32268.c

index 6fc4d4b..b75e608 100644 (file)
@@ -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
index f4bf879..b7625c0 100644 (file)
@@ -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)
index 7458c02..8bfa223 100644 (file)
@@ -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>
 
index f67da9b..472259c 100644 (file)
@@ -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;
 }