cp-tree.h (lang_decl): Remove pretty_function_p.
authorMark Mitchell <mark@codesourcery.com>
Mon, 24 Apr 2000 06:41:16 +0000 (06:41 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 24 Apr 2000 06:41:16 +0000 (06:41 +0000)
commit6dfbb909771e15460a5f8f6f246ad75ab993442d
tree09b22923010b7e795199c2b498f3194f07f79486
parentb51024fc8996b47f30f3bf277cf1338a24c49953
cp-tree.h (lang_decl): Remove pretty_function_p.

* cp-tree.h (lang_decl): Remove pretty_function_p.
(DECL_PRETTY_FUNCTION_P): Use TREE_LANG_FLAG_0, not a bit in the
language-specific node.
* decl.c (cp_make_fname_decl): Use build_decl, not
build_lang_decl, to build the variables.
(grokvardecl): Don't call build_lang_decl for local variables in
templates.
(grokdeclarator): Don't call build_lang_decl for local type
declarations in templates.
* lex.c (retrofit_lang_decl): Use ggc_alloc_obj to allocated
zero'd memory, rather than calling memset.
* pt.c: Include hashtab.h.
(local_specializations): New variable.
(retrieve_local_specialization): Use it.
(register_local_specialization): Likewise.
(tsubst_decl): Don't assume local variables have
DECL_LANG_SPECIFIC.
(instantiate_decl): Set up local_specializations.
* Makefile.in (HTAB_H): New variable.

From-SVN: r33369
gcc/cp/ChangeLog
gcc/cp/Makefile.in
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/pt.c