diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-10-03 16:04:30 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-10-03 16:04:30 +0000 |
commit | 807625cf45d49ff58c333a0ad826f267d1f45a04 (patch) | |
tree | 9d910bc8a4f5ce49f10a39c743561b2ad5f278db /gcc/cp/tree.c | |
parent | 4927b3d4878be4c5171154b32a5d58be9ffccba0 (diff) | |
download | gcc-807625cf45d49ff58c333a0ad826f267d1f45a04.zip gcc-807625cf45d49ff58c333a0ad826f267d1f45a04.tar.gz gcc-807625cf45d49ff58c333a0ad826f267d1f45a04.tar.bz2 |
tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for bitfields, rather than DECL_BIT_FIELD.
* tree.c (lvalue_p_1): Use DECL_C_BIT_FIELD to check for
bitfields, rather than DECL_BIT_FIELD.
* ir.texi: Document how to tell whether or not a field is a
bitfield.
* lex.c (make_lang_type): Fix typo in comment.
From-SVN: r29781
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 8e4f2da..96a1549 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -86,7 +86,7 @@ lvalue_p_1 (ref, treat_class_rvalues_as_lvalues) /* The "field" can be a FUNCTION_DECL or an OVERLOAD in some situations. */ && TREE_CODE (TREE_OPERAND (ref, 1)) == FIELD_DECL - && DECL_BIT_FIELD (TREE_OPERAND (ref, 1))) + && DECL_C_BIT_FIELD (TREE_OPERAND (ref, 1))) { /* Clear the ordinary bit. If this object was a class rvalue we want to preserve that information. */ |