re PR tree-optimization/21417 (Missed jump threading opportunity on trees)
authorJeff Law <law@redhat.com>
Thu, 9 Feb 2006 02:36:33 +0000 (19:36 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 9 Feb 2006 02:36:33 +0000 (19:36 -0700)
commitd537b2ebb028550ea757435150937003fa9fe30a
treeba679982772c0b010e098d2e80744d59576e9883
parent0a180c0ee8779e656fd59c604a4a4443e242a7f7
re PR tree-optimization/21417 (Missed jump threading opportunity on trees)

PR tree-optimization/21417
* tree-ssa-threadedge.c (thread_across_edge): Reject threading
across a backedge if the control statement at the end of the
block is data dependent on other statements in the same block.
(record_temporary_equivalences_from_stmts): Remove over-conservative
test for threading across backedges.

* gcc.dg/tree-ssa/pr21417.c: New test.

From-SVN: r110785
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr21417.c [new file with mode: 0644]
gcc/tree-ssa-threadedge.c