[Bug c++/34949] Dead code in empty destructors.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 3 06:31:00 GMT 2013
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
More information about the Gcc-bugs
mailing list