http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52912
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-11 08:12:38 UTC --- Author: rguenth Date: Wed Apr 11 08:12:33 2012 New Revision: 186303 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186303 Log: 2012-04-11 Richard Guenther <rguent...@suse.de> PR tree-optimization/52912 * tree-ssa-threadupdate.c (thread_block): Tell the cfg manipulation code we are threading through a loop header to an exit destination. * gcc.dg/torture/pr52912.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr52912.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-threadupdate.c