aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-12-05 15:17:24 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-12-05 10:17:24 -0500
commitc78358d4732d9b6745f4fb8b74cf3668edf4c28b (patch)
tree2907ab31b22b4da9effde18ac7c88fb22cf83fd1 /gcc
parente868a8406d8d37635e0ddc9a98ab2c24b63ec9ff (diff)
downloadgcc-c78358d4732d9b6745f4fb8b74cf3668edf4c28b.zip
gcc-c78358d4732d9b6745f4fb8b74cf3668edf4c28b.tar.gz
gcc-c78358d4732d9b6745f4fb8b74cf3668edf4c28b.tar.bz2
* i960.h (BOOL_TYPE_SIZE): Define.
From-SVN: r24110
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i960/i960.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56b7cce..9e5b12a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index 31102e5..5889a41 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. */