https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61607
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jun 26 07:44:10 2014 New Revision: 212011 URL: https://gcc.gnu.org/viewcvs?rev=212011&root=gcc&view=rev Log: 2014-06-26 Richard Biener <rguent...@suse.de> PR tree-optimization/61607 * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the loop if we redirected its latch edge. (thread_block_1): Do not cancel loops prematurely. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-threadupdate.c