OSDN Git Service

* class.c (build_vbase_path): Simplify.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jan 2000 04:13:27 +0000 (04:13 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jan 2000 04:13:27 +0000 (04:13 +0000)
commitcbf538c621a040cc659ac4141b0afc36cca0af56
tree2871c7aa28318e67ea8d66b2b2c066947132667f
parent281335db56e1cd6d64da5852386a449d943d6bf7
* class.c (build_vbase_path): Simplify.
(dfs_propagate_binfo_offsets): New function.
(propagate_binfo_offsets): Use it.
(remove_base_field): Simplify.
(dfs_set_offset_for_vbases): Remove.
(dfs_set_offset_for_shared_vbases): New function.
(dfs_set_offset_for_unshared_vbases): Likewise.
(layout_virtual_bases): Use them.
(layout_basetypes): Don't call propagate_binfo_offsets.
* search.c (dfs_get_vbase_types): Clone completely fresh binfos
for the vbases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31316 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/search.c
gcc/testsuite/g++.old-deja/g++.other/ambig2.C