2008-05-21 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 May 2008 23:13:00 +0000 (23:13 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 May 2008 23:13:00 +0000 (23:13 +0000)
commitfa5e5a2f0706ca8e51dcdce30e7addade71bf3fd
treed94b5ef5e17a03628d716a1445a4b91366182b82
parentc0770282470be30c1aa3b581d7d80b570edc9b29
2008-05-21  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/36286
PR tree-optimization/36287
* lambda-code.c (build_access_matrix): Do not use the loop->num
for computing the number of induction variables: use the loop depth
instead.

* testsuite/gcc.dg/tree-ssa/pr36287.c: New.
* testsuite/gfortran.dg/pr36286.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135741 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lambda-code.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr36287.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr36286.f90 [new file with mode: 0644]