https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70006
--- Comment #10 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Sep 30 15:50:31 2016 New Revision: 240659 URL: https://gcc.gnu.org/viewcvs?rev=240659&root=gcc&view=rev Log: 2016-09-30 Steven G. Kargl <ka...@gcc.gnu.org> Backport from trunk PR fortran/70006 * io.c (gfc_resolve_dt): Use correct locus. * resolve.c (resolve_branch): Ditto. 2016-09-30 Steven G. Kargl <ka...@gcc.gnu.org> Backport from trunk PR fortran/70006 * gfortran.dg/pr70006.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr70006.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/io.c branches/gcc-5-branch/gcc/fortran/resolve.c branches/gcc-5-branch/gcc/testsuite/ChangeLog