]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
class.c (invalidate_class_lookup_cache): Zero the previous_class_values.
authorMark Mitchell <mark@codesourcery.com>
Wed, 3 Jan 2001 00:24:04 +0000 (00:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 3 Jan 2001 00:24:04 +0000 (00:24 +0000)
commit4890c2f43c55328b560ca99fb4a4058a68290cd9
tree6c3f7f84a08085fee5d7b256e232927293cd5a7d
parent55560b9da47bf6fef84d3b217e9019b0a07b1821
class.c (invalidate_class_lookup_cache): Zero the previous_class_values.

* class.c (invalidate_class_lookup_cache): Zero the
previous_class_values.
* cp-tree.h (TMPL_PARMS_DEPTH): Use TREE_INT_CST_LOW, not
TREE_INT_CST_HIGH.
(CLASSTYPE_TEMPLATE_LEVEL): Likewise.
* decl.c (free_bindings): New variable.
(push_binding): Don't create a new binding if we have one on the
free list.
(pop_binding): Put old bindings on the free list.
(init_decl_processing): Use size_int, not build_int_2.
Register free_bindings as a GC root.
(cp_make_fname_decl): Use size_int, not build_int_2.
(push_inline_template_parms_recursive): Likewise.
(end_template_parm_list): Likewise.
(for_each_tempalte_parm): Do not use walk_tree_without_duplicates.
(tsubst_template_parms): Use size_int, not build_int_2.
(tsubst): Likewise.
* rtti.c (get_vmi_pseudo_type_info): Likewise.

From-SVN: r38641
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/rtti.c