diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 7516fef1e5d..0d28dc5bb25 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -98,7 +98,7 @@ static struct stack_level *decl_stack; #ifndef BOOL_TYPE_SIZE #ifdef SLOW_BYTE_ACCESS -#define BOOL_TYPE_SIZE BITS_PER_WORD +#define BOOL_TYPE_SIZE ((SLOW_BYTE_ACCESS) ? (BITS_PER_WORD) : (BITS_PER_UNIT)) #else #define BOOL_TYPE_SIZE BITS_PER_UNIT #endif