* i960.h (BOOL_TYPE_SIZE): Define.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 5 Dec 1998 15:17:24 +0000 (15:17 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 5 Dec 1998 15:17:24 +0000 (10:17 -0500)
From-SVN: r24110

gcc/ChangeLog
gcc/config/i960/i960.h

index 56b7cce8a59790999b5e718d9a27e29aff753274..9e5b12a10b4ba917d54c4b86a7a8ee7b2cf5b288 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec  5 15:14:52 1998  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * i960.h (BOOL_TYPE_SIZE): Define.
+
 Sun Dec  6 00:28:16 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
 
        * config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
index 31102e50601becfffc116018f754b2394ab6dd1e..5889a4193d8d9d7e4aab46552de412b5ba38b337 100644 (file)
@@ -1114,6 +1114,11 @@ extern struct rtx_def *legitimize_address ();
 
 #define SLOW_BYTE_ACCESS 1
 
+/* Force sizeof(bool) == 1 to maintain binary compatibility; otherwise, the
+   change in SLOW_BYTE_ACCESS would have changed it to 4.  */
+
+#define BOOL_TYPE_SIZE CHAR_TYPE_SIZE
+
 /* We assume that the store-condition-codes instructions store 0 for false
    and some other value for true.  This is the value stored for true.  */