https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61780
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Jul 12 19:09:11 2014 New Revision: 212486 URL: https://gcc.gnu.org/viewcvs?rev=212486&root=gcc&view=rev Log: 2014-07-12 Paul Thomas <pa...@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 <pa...@gcc.gnu.org> PR fortran/61780 * gfortran.dg/dependency_44.f90 : New test Added: trunk/gcc/testsuite/gfortran.dg/dependency_44.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/testsuite/ChangeLog