method.c (synthesize_method): Call setup_vtbl_ptr for destructors.
authorMark Mitchell <mark@codesourcery.com>
Tue, 5 Oct 1999 16:19:04 +0000 (16:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 5 Oct 1999 16:19:04 +0000 (16:19 +0000)
commit018fc244dc645ae8ff169d4cfdcf3b8580067410
treed62347643638571648f579cf5e50d9f5442e5f39
parent1b42a6a905d4647e1328d8cf6c18c2ef9d2c72f1
method.c (synthesize_method): Call setup_vtbl_ptr for destructors.

* method.c (synthesize_method): Call setup_vtbl_ptr for destructors.

* decl.c (start_function): Set current_in_charge_parm for
constructors, too, where appropriate.
* search.c (fixup_all_virtual_upcast_offsets): New function.
(expand_indirect_vtbls_init): Use it.

From-SVN: r29826
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/search.c
gcc/testsuite/g++.old-deja/g++.other/dtor5.C [new file with mode: 0644]