https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56867
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Wed Jan 7 22:31:54 2015 New Revision: 219325 URL: https://gcc.gnu.org/viewcvs?rev=219325&root=gcc&view=rev Log: 2015-01-08 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/56867 * trans-array.c (gfc_conv_resolve_dependencies): Also check dependencies when there may be substrings of character arrays. 2014-01-08 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/56867 * gfortran.dg/dependency_45.f90: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/dependency_45.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-array.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog