re PR fortran/70006 (Duplicate errors "label not defined")
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 18:18:49 +0000 (18:18 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 18:18:49 +0000 (18:18 +0000)
commit712dff3172d503c496366d148c8e3fe018b584a5
treea3a0ed6a9fcbc3e86119faa3baa064ae94db7fbe
parentfb42421ef060d7bc2e7f954ce12b0fdc83e57ee6
re PR fortran/70006 (Duplicate errors "label not defined")

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70006
* io.c (gfc_resolve_dt): Use correct locus.
* resolve.c (resolve_branch): Ditto.

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70006
* gfortran.dg/pr70006.f90: New test.

From-SVN: r238905
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr70006.f90 [new file with mode: 0644]