[Bug c++/60750] [4.8 Regression] double free after std::move on string inside throw when compiled with optimization
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 5 13:49:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60750
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon May 5 13:48:42 2014
New Revision: 210070
URL: http://gcc.gnu.org/viewcvs?rev=210070&root=gcc&view=rev
Log:
2014-05-05 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-04-23 Richard Biener <rguenther@suse.de>
PR middle-end/60895
* tree-inline.c (declare_return_variable): Use mark_addressable.
* g++.dg/torture/pr60895.C: New testcase.
2014-04-07 Richard Biener <rguenther@suse.de>
PR middle-end/60750
* tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs
for noreturn calls.
* tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs.
* g++.dg/torture/pr60750.C: New testcase.
* gcc.dg/tree-ssa/20040517-1.c: Adjust.
2014-04-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/59817
PR tree-optimization/60453
* graphite-scop-detection.c (graphite_can_represent_scev): Complete
recursion to catch all CHRECs in the scalar evolution and restrict
the predicate for the remains appropriately.
* gfortran.dg/graphite/pr59817.f: New testcase.
* gcc.dg/graphite/pr59817-1.c: Likewise.
* gcc.dg/graphite/pr59817-2.c: Likewise.
2014-04-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/60836
* tree-vect-loop.c (vect_create_epilog_for_reduction): Force
initial PHI args to be gimple values.
* g++.dg/vect/pr60836.cc: New testcase.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/torture/pr60750.C
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/torture/pr60895.C
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/vect/pr60836.cc
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/graphite/pr59817-1.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/graphite/pr59817-2.c
branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/graphite/pr59817.f
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/graphite-scop-detection.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/tree-ssa/20040517-1.c
branches/gcc-4_8-branch/gcc/tree-cfgcleanup.c
branches/gcc-4_8-branch/gcc/tree-inline.c
branches/gcc-4_8-branch/gcc/tree-ssa-operands.c
branches/gcc-4_8-branch/gcc/tree-vect-loop.c
More information about the Gcc-bugs
mailing list