This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128172 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Sep 2007 01:25:00 -0000
- Subject: r128172 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
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