This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15097] code generator problem with ::delete and multiple inheritance and virtual deconstructs
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2007 01:25:10 -0000
- Subject: [Bug c++/15097] code generator problem with ::delete and multiple inheritance and virtual deconstructs
- References: <bug-15097-7154@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jason at gcc dot gnu dot org 2007-09-06 01:25 -------
Subject: Bug 15097
Author: jason
Date: Thu Sep 6 01:24:59 2007
New Revision: 128172
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128172
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/init/delete2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/init.c
trunk/gcc/cp/rtti.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15097