summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 23:41:00 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 23:41:00 +0000
commitedc6a30550633a585b50968b701e1f99833589fc (patch)
tree9118162165538b432ca0321ce5ed933bef7579a4
parent2896b36927e6b91beefa0a4ca83479e68583fc57 (diff)
downloadppe42-gcc-edc6a30550633a585b50968b701e1f99833589fc.tar.gz
ppe42-gcc-edc6a30550633a585b50968b701e1f99833589fc.zip
* config/fp-bit.h (CMPtype): Typedef to a word mode integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111823 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/fp-bit.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61d6f59db4a..e446ba1d915 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/fp-bit.h b/gcc/config/fp-bit.h
index 5ee0279a393..0f03f87ee1a 100644
--- a/gcc/config/fp-bit.h
+++ b/gcc/config/fp-bit.h
@@ -107,9 +107,10 @@ typedef int DItype __attribute__ ((mode (DI)));
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
-#define CMPtype SItype
+typedef int CMPtype __attribute__ ((mode (word)));
#endif
typedef unsigned int UHItype __attribute__ ((mode (HI)));
OpenPOWER on IntegriCloud