OSDN Git Service

Fix PR46928: handle "A[p] == A[p]" in data dep analysis with p a parameter of the...
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2010 05:04:40 +0000 (05:04 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Dec 2010 05:04:40 +0000 (05:04 +0000)
commit328218c22e91d8cb590fdd6d2dcc4dbcd3d29a77
treee1f9a3b7e60d6567d61591500be04952318f5d47
parentdb990c65db9f947154ac8126013e25315c265790
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.

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