class.c (dfs_find_final_overrider): Adjust so that the most derived object is a binfo...
authorMark Mitchell <mark@codesourcery.com>
Thu, 14 Nov 2002 16:59:23 +0000 (16:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 14 Nov 2002 16:59:23 +0000 (16:59 +0000)
commit95675950657fdaa6e6a4b38b1c519667514b2fb7
treebb3736f1db5c429a540ed3d62269e25ee4b036f4
parent3dfce4e4fc1256ab3cc4b98e6649247687ead97f
class.c (dfs_find_final_overrider): Adjust so that the most derived object is a binfo, rather than a class type.

* class.c (dfs_find_final_overrider): Adjust so that the most
derived object is a binfo, rather than a class type.
(find_final_overrider): Likewise.
(add_vcall_offset_vtbl_entries_1): Simplify accordingly.
(add_vcall_offset): Likewise.

* g++.dg/abi/vcall1.C: New test.

From-SVN: r59104
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/vcall1.C [new file with mode: 0644]