defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 3 May 2002 13:13:13 +0000 (09:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 3 May 2002 13:13:13 +0000 (09:13 -0400)
        * 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

gcc/doc/tm.texi

index 0157ef83840c669ecb9256acaede18cd1e8e2b67..722e59c675bf1b0829a849166ac68318194f7764 100644 (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