diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-09-09 03:31:23 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-09 03:31:23 +0000 |
commit | d60f72aec57414b8339eecb25c33b423af7e6946 (patch) | |
tree | 79089f60fce8d0ead6e2770a82bbb40f781729a9 /gcc/cp/cp-tree.h | |
parent | 37b31aefeb2848b5cd9133b2bf652ab91533c533 (diff) | |
download | gcc-d60f72aec57414b8339eecb25c33b423af7e6946.zip gcc-d60f72aec57414b8339eecb25c33b423af7e6946.tar.gz gcc-d60f72aec57414b8339eecb25c33b423af7e6946.tar.bz2 |
cp-tree.h (lang_decl_flags): Remove permanent_attr.
* cp-tree.h (lang_decl_flags): Remove permanent_attr.
Remove next.
(LANG_DECL_PERMANENT): Remove.
* decl.c (duplicate_decls): Don't mess about with obstacks trying
to free memory.
(lang_mark_tree): Mark DECL_LANG_SPECIFIC.
* lex.c (free_lang_decl_chain): Remove.
(build_lang_decl): Don't use obstacks.
(retrofit_lang_decl): Likewise.
(copy_lang_decl): Likewise.
From-SVN: r29223
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 6da2463..f5b1a6e 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -1474,20 +1474,19 @@ struct lang_decl_flags unsigned const_memfunc : 1; unsigned volatile_memfunc : 1; unsigned abstract_virtual : 1; - unsigned permanent_attr : 1 ; - unsigned constructor_for_vbase_attr : 1; + unsigned mutable_flag : 1; unsigned saved_inline : 1; unsigned use_template : 2; unsigned nonconverting : 1; unsigned declared_inline : 1; unsigned not_really_extern : 1; - unsigned needs_final_overrider : 1; + unsigned bitfield : 1; unsigned defined_in_class : 1; - unsigned dummy : 5; + unsigned dummy : 6; tree access; tree context; @@ -1515,9 +1514,6 @@ struct lang_decl { tree sorted_fields; struct pending_inline *pending_inline_info; - /* The lang_decls on the free_lang_decl_chain are chained together - through this pointer. */ - struct lang_decl *next; } u; }; @@ -1639,9 +1635,6 @@ struct lang_decl must be overridden by derived classes. */ #define DECL_NEEDS_FINAL_OVERRIDER_P(NODE) (DECL_LANG_SPECIFIC(NODE)->decl_flags.needs_final_overrider) -/* Nonzero if allocated on permanent_obstack. */ -#define LANG_DECL_PERMANENT(LANGDECL) ((LANGDECL)->decl_flags.permanent_attr) - /* The _TYPE context in which this _DECL appears. This field holds the class where a virtual function instance is actually defined, and the lexical scope of a friend function defined in a class body. */ |