https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65677
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Mon Oct 1 14:27:17 2018 New Revision: 264759 URL: https://gcc.gnu.org/viewcvs?rev=264759&root=gcc&view=rev Log: 2018-10-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/65677 * trans-expr.c (gfc_trans_assignment_1): Set the 'identical' flag in the call to gfc_check_dependency. 2018-10-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/65677 * gfortran.dg/dependency_52.f90 : Expand the test to check both the call to adjustl and direct assignment of the substring. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/dependency_52.f90