http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58343
--- Comment #4 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Tue Sep 10 12:29:58 2013 New Revision: 202441 URL: http://gcc.gnu.org/viewcvs?rev=202441&root=gcc&view=rev Log: PR tree-optimization/58343 * tree-ssa-threadupdate.c (thread_block): Identify and disable jump threading requests through loop headers buried in the middle of a jump threading path. * tree-ssa-threadedge.c (thread_around_empty_blocks): Fix thinko in return value/type. * gcc.c-torture/compile/pr58343.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr58343.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-threadedge.c trunk/gcc/tree-ssa-threadupdate.c