http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54985
--- Comment #15 from Jeffrey A. Law <law at gcc dot gnu.org> 2012-11-02 20:19:23 UTC --- Author: law Date: Fri Nov 2 20:19:16 2012 New Revision: 193108 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193108 Log: PR tree-optimization/54985 * tree-ssa-threadedge.c (cond_arg_set_in_bb): New function extracted from thread_across_edge. (thread_across_edge): Use it in all cases where we might thread across a back edge. * gcc.c-torture/execute/pr54985.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/execute/pr54985.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-ssa-threadedge.c