[Bug c++/15097] code generator problem with ::delete and multiple inheritance and virtual deconstructs
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 6 01:25:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list