]> gcc.gnu.org Git - gcc.git/commit
Never change BINFO_INHERITANCE_CHAIN.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 27 Aug 1998 15:30:49 +0000 (15:30 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 27 Aug 1998 15:30:49 +0000 (11:30 -0400)
commitdfbcd65a0152513db985a552f7e75e24cb2be4d5
tree1e804ccfe218681304e0553b38219628709207f1
parent3e2a2957a078fb0c887fbc5298b9cfdda236a98d
Never change BINFO_INHERITANCE_CHAIN.

* init.c (emit_base_init): Change modification of
BINFO_INHERITANCE_CHAIN to an assert.
* search.c (get_base_distance_recursive): Likewise.
(get_base_distance): Likewise.
(lookup_member): Likewise.
(convert_pointer_to_single_level): Likewise.
(lookup_field): Likewise.  Lose setting TREE_VIA_* on TREE_LISTs.
(lookup_fnfields): Likewise.
* tree.c (propagate_binfo_offsets): Don't call unshare_base_binfos.
(unshare_base_binfos): Don't call propagate_binfo_offsets.
(layout_basetypes): Call propagate_binfo_offsets instead of
unshare_base_binfos.
* decl.c (xref_basetypes): Call unshare_base_binfos.
* pt.c (instantiate_class_template): Likewise.
* tree.c (reverse_path): Remove 'copy' parm; always make a
temporary copy.
* class.c (build_vbase_path): Just call it.
* search.c (compute_access): Likewise.  Don't re-reverse.

From-SVN: r22024
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/tree.c
This page took 0.060571 seconds and 5 git commands to generate.