diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-27 01:41:17 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-08-27 01:41:17 +0000 |
commit | d631da2bfe2bc60a04c4fc22c9643d39d3522033 (patch) | |
tree | 9aeb96010eb77e1a52847d09d87204cb2f6a7c79 /gcc/cp/method.c | |
parent | 685af75bb8182cee3585c596542df44df3fc743f (diff) |
Stop sharing binfos for indirect virtual bases.
* tree.c (propagate_binfo_offsets): Unshare vbases, too.
(layout_basetypes): Likewise.
(unshare_base_binfos): Copy vbases, too.
* cp-tree.h (BINFO_VIA_PUBLIC, BINFO_BASEINIT_MARKED,
BINFO_VBASE_INIT_MARKED): Remove obsolete macros.
(BINFO_PUSHDECLS_MARKED, SET_BINFO_PUSHDECLS_MARKED,
CLEAR_BINFO_PUSHDECLS_MARKED): New macros.
* search.c (lookup_field, lookup_fnfields, lookup_member): Remove
reference to BINFO_VIA_PUBLIC.
(marked_pushdecls_p, unmarked_pushdecls_p): New fns.
(push_class_decls): Use them.
(dfs_pushdecls): Use SET_BINFO_PUSHDECLS_MARKED.
(dfs_compress_decls): Use CLEAR_BINFO_PUSHDECLS_MARKED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22017 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
0 files changed, 0 insertions, 0 deletions