https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70524
--- Comment #11 from vehre at gcc dot gnu.org --- Author: vehre Date: Mon Aug 8 08:24:22 2016 New Revision: 239232 URL: https://gcc.gnu.org/viewcvs?rev=239232&root=gcc&view=rev Log: gcc/testsuite/ChangeLog: 2016-08-08 Andre Vehreschild <ve...@gcc.gnu.org> Backport from trunk: PR fortran/70524 * gfortran.dg/dependency_48.f90: New test. gcc/fortran/ChangeLog: 2016-08-08 Andre Vehreschild <ve...@gcc.gnu.org> Backport from trunk: PR fortran/70524 * trans-array.c (gfc_trans_dummy_array_bias): Ensure that the location information is correctly set. * trans-decl.c (gfc_trans_deferred_vars): Set the locus of the current construct early. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/dependency_48.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/trans-array.c branches/gcc-5-branch/gcc/fortran/trans-decl.c branches/gcc-5-branch/gcc/testsuite/ChangeLog