defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.

* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
        * c-decl.c (c_init_decl_processing): Use it.
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
        * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
        * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.

From-SVN: r53091
This commit is contained in:
Jason Merrill 2002-05-03 09:13:13 -04:00
parent 6b148bd9e3
commit 3d1ad9e5ae

View File

@ -1514,9 +1514,9 @@ used in @code{cpp}.
@findex BOOL_TYPE_SIZE
@item BOOL_TYPE_SIZE
A C expression for the size in bits of the C++ type @code{bool} on the
target machine. If you don't define this, the default is
@code{CHAR_TYPE_SIZE}.
A C expression for the size in bits of the C++ type @code{bool} and
C99 type @code{_Bool} on the target machine. If you don't define
this, and you probably shouldn't, the default is @code{CHAR_TYPE_SIZE}.
@findex FLOAT_TYPE_SIZE
@item FLOAT_TYPE_SIZE