summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-05 15:17:24 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-05 15:17:24 +0000
commit39231f82d35616b3b737fce8b0ee79457df2fbea (patch)
tree2907ab31b22b4da9effde18ac7c88fb22cf83fd1 /gcc/config
parentd8fd49ce8d4126c56b1f2c825656e9d5732fa797 (diff)
downloadgcc-39231f82d35616b3b737fce8b0ee79457df2fbea.tar.gz
* i960.h (BOOL_TYPE_SIZE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i960/i960.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index 31102e50601..5889a4193d8 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -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. */