OSDN Git Service

2011-08-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Aug 2011 10:07:20 +0000 (10:07 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Aug 2011 10:07:20 +0000 (10:07 +0000)
commit0f00ec21dbd0d077473f2fc0a97f13e733a415d2
treefc7988f1e91f1893a1dc187b191cac060c088615
parente2089de66810846f898942950fb8e2f8e888da10
2011-08-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50067
* tree-data-ref.c (dr_analyze_indices): Do not add an access
function for a MEM_REF base that has no evolution in the loop
nest or that is not analyzable.

* gcc.dg/torture/pr50067-3.c: New testcase.
* gcc.dg/torture/pr50067-4.c: Likewise.
* gcc.dg/torture/pr50067-5.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178028 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50067-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr50067-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr50067-5.c [new file with mode: 0644]
gcc/tree-data-ref.c