https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66101
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed May 27 14:05:37 2015 New Revision: 223757 URL: https://gcc.gnu.org/viewcvs?rev=223757&root=gcc&view=rev Log: 2015-05-27 Richard Biener <rguent...@suse.de> Backport from mainline 2015-05-12 Richard Biener <rguent...@suse.de> PR tree-optimization/66101 * tree-ssa-dce.c (remove_dead_stmt): Properly mark loops for fixup if we turn a loop exit edge to a fallthru edge. * gcc.dg/torture/pr66101.c: New testcase. Added: branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr66101.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-ssa-dce.c