]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/class.c
cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
authorMark Mitchell <mark@codesourcery.com>
Wed, 14 Feb 2001 06:32:15 +0000 (06:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 14 Feb 2001 06:32:15 +0000 (06:32 +0000)
commit52682a1b7720c9f2d8528c3498631636f09ebd90
treed96b4a0445eaddd41c2f31bdde78ca4bce589951
parent97a4d32ec6b8e1ea688b2ccd8ba54b8597227c79
cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.

* cp-tree.h (CLASSTYPE_DESTRUCTORS): Fix typo in comment.
* call.c (build_op_delete_call): Simplify to remove duplicate
code.
* class.c (clone_function_decl): Don't build the deleting variant
of a non-virtual destructor.
* decl.c (finish_destructor_body): Don't call delete if this is a
non-virtual destructor.
* init.c (build_delete): Explicitly call `operator delete' when
deleting an object with a non-virtual destructor.

From-SVN: r39659
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/testsuite/g++.old-deja/g++.oliva/delete1.C