re PR c++/15097 (code generator problem with ::delete and multiple inheritance and...
authorJason Merrill <jason@redhat.com>
Thu, 6 Sep 2007 01:24:59 +0000 (21:24 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 6 Sep 2007 01:24:59 +0000 (21:24 -0400)
commit6f06d231a09f1ac7facc006684f4cfdcb0d35194
treeb083a51d2031960784caa354c53787eb62f3271a
parentdb44b39f4f9a464b9277dc5bbc1fba362a954ec0
re PR c++/15097 (code generator problem with ::delete and multiple inheritance and virtual deconstructs)

        PR c++/15097
        * init.c (build_delete): Use build_headof to get the address of the
        complete object if we aren't using the deleting destructor.
        * rtti.c (build_headof): No longer static.
        * cp-tree.h: Declare it.

From-SVN: r128172
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/rtti.c
gcc/testsuite/g++.dg/init/delete2.C [new file with mode: 0644]