class.c (modify_vtable_entry): Remove unused variable.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 31 Dec 2002 19:43:16 +0000 (19:43 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 31 Dec 2002 19:43:16 +0000 (19:43 +0000)
commit3cfabe60d4c8f85750afa5cf61a66a13a1140097
treefcffe3f938dfc8c7c725a5aa63895202f9d645b5
parent3b41afd944b8413290a47b776d638abfe7321969
class.c (modify_vtable_entry): Remove unused variable.

cp:
* class.c (modify_vtable_entry): Remove unused variable.
(get_vcall_index): Always expect a non-thunk.
(update_vtable_entry_for_fn): Combine covariant adjustments, when
overriding a thunk. Pass get_vcall_index a non-thunk.

* decl2.c (finish_file): Mark undefined inlines as extern.
testsuite:
* g++.dg/inherit/covariant8.C: New test.

From-SVN: r60710
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/covariant8.C [new file with mode: 0644]