This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34949] Dead code in empty destructors.
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Apr 2013 06:31:50 +0000
- Subject: [Bug c++/34949] Dead code in empty destructors.
- Auto-submitted: auto-generated
- References: <bug-34949-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34949
--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 06:31:50 UTC ---
Author: jason
Date: Tue Apr 2 21:09:38 2013
New Revision: 197375
URL: http://gcc.gnu.org/viewcvs?rev=197375&root=gcc&view=rev
Log:
PR c++/34949
* decl.c (begin_destructor_body): Clobber the object in a cleanup.
Added:
trunk/gcc/testsuite/g++.dg/opt/vt2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c