OSDN Git Service

PR tree-optimization/21417
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2006 02:36:33 +0000 (02:36 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2006 02:36:33 +0000 (02:36 +0000)
commit21db594514d8144d3c96ab97ae4a8737c7967cb7
treeba679982772c0b010e098d2e80744d59576e9883
parent39cdc6b4da09003cfc2f546f1802b9ef0311e836
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110785 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr21417.c [new file with mode: 0644]
gcc/tree-ssa-threadedge.c