diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 00:24:04 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-03 00:24:04 +0000 |
commit | 180f098bd4eba146f3f9ec4a9bb1c8ae9d6290f5 (patch) | |
tree | 6c3f7f84a08085fee5d7b256e232927293cd5a7d /gcc/cp/rtti.c | |
parent | 4369f9170572c18c99b262c445a81a139d16b826 (diff) | |
download | gcc-180f098bd4eba146f3f9ec4a9bb1c8ae9d6290f5.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 3a54fc4753d..417f165a827 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -1839,7 +1839,7 @@ get_vmi_pseudo_type_info (num_bases) return desc; /* Add number of bases and trailing array of base_class_type_info. */ - array_domain = build_index_type (build_int_2 (num_bases, 0)); + array_domain = build_index_type (size_int (num_bases)); base_array = build_array_type (base_desc_type_node, array_domain); push_nested_namespace (abi_node); |