From c78358d4732d9b6745f4fb8b74cf3668edf4c28b Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 5 Dec 1998 15:17:24 +0000 Subject: [PATCH] * i960.h (BOOL_TYPE_SIZE): Define. From-SVN: r24110 --- gcc/ChangeLog | 4 ++++ gcc/config/i960/i960.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 56b7cce8a59..9e5b12a10b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 5 15:14:52 1998 Jason Merrill + + * i960.h (BOOL_TYPE_SIZE): Define. + Sun Dec 6 00:28:16 1998 Michael Hayes * 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 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. */ -- 2.30.2