re PR fortran/61780 (Wrong code when shifting elements of a multidimensional array)
commitf8ec056116004ee5a3bc9363d233727c8cf72b73
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 12 Jul 2014 19:09:11 +0000 (12 19:09 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 12 Jul 2014 19:09:11 +0000 (12 19:09 +0000)
tree9bbf04d8fa0b1753ede4a45ca61a4310a0632b0f
parentfae3018dcda41a9b889561be7f3fbc2a0f62ccb1
re PR fortran/61780 (Wrong code when shifting elements of a multidimensional array)

2014-07-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61780
* dependency.c (gfc_dep_resolver): Index the 'reverse' array so
that elements are skipped. This then correctly aligns 'reverse'
with the scalarizer loops.

2014-07-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61780
* gfortran.dg/dependency_44.f90 : New test

From-SVN: r212486
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_44.f90 [new file with mode: 0644]