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

gcc/doc/tm.texi

index 8affd1798dc33bece2d53b03deafce69cafb7542..3d9e453ef63bdd14c993672cd407d56890ea319c 100644 (file)
@@ -1422,9 +1422,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