]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter of the...
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 15 Dec 2010 05:04:40 +0000 (05:04 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 15 Dec 2010 05:04:40 +0000 (05:04 +0000)
commit3e6f8b560669aa350629504f80388cc773719f13
treee1f9a3b7e60d6567d61591500be04952318f5d47
parentab2210870b28990071af15a53ce817a3fc6d5af8
Fix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter of the loop.

2010-12-14  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/46928
* tree-data-ref.c (analyze_overlapping_iterations): Handle "A[p] == A[p]"
in data dependence analysis with p a parameter of the loop.

* gcc.dg/tree-ssa/ldist-17.c: New.

From-SVN: r167843
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-17.c [new file with mode: 0644]
gcc/tree-data-ref.c