http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50130
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-08-22 15:12:09 UTC --- Author: tkoenig Date: Mon Aug 22 15:12:04 2011 New Revision: 177961 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177961 Log: 2011-08-22 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/50130 * resolve.c (resolve_array_ref): Don't calculate upper bound if the stride is zero. 2011-08-22 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/50130 * gfortran.dg/zero_stride_1.f90: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/zero_stride_1.f90 Modified: branches/gcc-4_6-branch/gcc/fortran/ChangeLog branches/gcc-4_6-branch/gcc/fortran/resolve.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog