https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66101
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue May 12 13:28:33 2015 New Revision: 223065 URL: https://gcc.gnu.org/viewcvs?rev=223065&root=gcc&view=rev Log: 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: trunk/gcc/testsuite/gcc.dg/torture/pr66101.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-dce.c