OSDN Git Service

* config/fp-bit.h (CMPtype): Typedef to a word mode integer.
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2006 23:41:00 +0000 (23:41 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2006 23:41:00 +0000 (23:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111823 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/fp-bit.h

index 61d6f59..e446ba1 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-08  Ben Elliston  <bje@au.ibm.com>
+
+       * config/fp-bit.h (CMPtype): Typedef to a word mode integer.
+
 2006-03-07  Aldy Hernandez  <aldyh@redhat.com>
 
        PR gomp/26238
 2006-03-07  Aldy Hernandez  <aldyh@redhat.com>
 
        PR gomp/26238
index 5ee0279..0f03f87 100644 (file)
@@ -107,9 +107,10 @@ typedef int DItype __attribute__ ((mode (DI)));
 typedef int TItype __attribute__ ((mode (TI)));
 #endif
 
 typedef int TItype __attribute__ ((mode (TI)));
 #endif
 
-/* The type of the result of a fp compare */
+/* The type of the result of a floating point comparison.  This must
+   match `word_mode' in GCC for the target.  */
 #ifndef CMPtype
 #ifndef CMPtype
-#define CMPtype SItype
+typedef int CMPtype __attribute__ ((mode (word)));
 #endif
 
 typedef unsigned int UHItype __attribute__ ((mode (HI)));
 #endif
 
 typedef unsigned int UHItype __attribute__ ((mode (HI)));