diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2004-01-27 02:33:22 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2004-01-27 02:33:22 +0000 |
commit | 1c62e7b282ae85cf578a3af015941e717422f116 (patch) | |
tree | b72bec59563c306cade59d3562d4d103bc29ffb3 /gcc/c-decl.c | |
parent | ba9119ec894e7151e50cc5889fe3b6381d096e8c (diff) | |
download | gcc-1c62e7b282ae85cf578a3af015941e717422f116.zip gcc-1c62e7b282ae85cf578a3af015941e717422f116.tar.gz gcc-1c62e7b282ae85cf578a3af015941e717422f116.tar.bz2 |
system.h (CHAR_BITFIELD): Delete.
* system.h (CHAR_BITFIELD): Delete.
(BOOL_BITFIELD): New.
* c-decl.c (c_scope): Use BOOL_BITFIELD.
* gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD.
cp:
* cp-tree.h (language_function, lang_type_header): Use
BOOL_BITFIELD.
* name-lookup.h (cp_binding_level): Likewise.
From-SVN: r76686
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 6dd6bc0..c0cd219 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -230,21 +230,21 @@ struct c_scope GTY(()) /* True if we are currently filling this scope with parameter declarations. */ - bool parm_flag : 1; + BOOL_BITFIELD parm_flag : 1; /* True if we already complained about forward parameter decls in this scope. This prevents double warnings on foo (int a; int b; ...) */ - bool warned_forward_parm_decls : 1; + BOOL_BITFIELD warned_forward_parm_decls : 1; /* True if this is the outermost block scope of a function body. This scope contains the parameters, the local variables declared in the outermost block, and all the labels (except those in nested functions, or declared at block scope with __label__). */ - bool function_body : 1; + BOOL_BITFIELD function_body : 1; /* True means make a BLOCK for this scope no matter what. */ - bool keep : 1; + BOOL_BITFIELD keep : 1; }; /* The scope currently in effect. */ |