* method.c (synthesize_method): Call setup_vtbl_ptr for destructors.
commit16cb20ebad3a2c0da99ec37302e21d719527e555
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1999 16:19:04 +0000 (5 16:19 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Oct 1999 16:19:04 +0000 (5 16:19 +0000)
treed62347643638571648f579cf5e50d9f5442e5f39
parentf8e15e8ada21fa071f82a53293004e7d7e72f054
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29826 138bc75d-0d04-0410-961f-82ee72b054a4
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]