commit | c39d2a2bd89ed7a9ff995f2fc1e2e693fab8ee9f | [log] [tgz] |
---|---|---|
author | Sebastian Pop <s.pop@samsung.com> | Fri Aug 28 15:29:57 2015 -0500 |
committer | Sebastian Pop <s.pop@samsung.com> | Fri Aug 28 16:47:03 2015 -0500 |
tree | 9ff133f26c5d4f856e94e087db7b1dbd69d57205 | |
parent | 78cf0a232ee4314a9d668aab9b4b54f86b308111 [diff] |
backport patch for PR 64878: do not jump thread across more than one back-edge 2015-02-04 Sebastian Pop <s.pop@samsung.com> Brian Rzycki <b.rzycki@samsung.com> PR tree-optimization/64878 * tree-ssa-threadedge.c: Include tree-ssa-loop.h. (fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi. Stop recursion at loop phi nodes after having visited a loop phi node. * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-8.c: New.