https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71902
--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Mon Oct 31 18:28:11 2016 New Revision: 241717 URL: https://gcc.gnu.org/viewcvs?rev=241717&root=gcc&view=rev Log: 2016-10-31 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/71902 * frontend-passes.c (realloc_string_callback): Also check for the lhs being deferred. Name temporary variable "realloc_string". 2016-10-31 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/71902 * gfortran.dg/dependency_47.f90: New test. * gfortran.dg/dependency_49.f90: New test Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/dependency_47.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/dependency_49.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/frontend-passes.c branches/gcc-6-branch/gcc/testsuite/ChangeLog