re PR fortran/77978 (stop codes misinterpreted in both f2003 and f2008)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 17 Oct 2016 19:57:12 +0000 (19:57 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 17 Oct 2016 19:57:12 +0000 (19:57 +0000)
commit4acf205523e33923a55d542aca44c2670e970a3a
tree301af084648f9800d649bc6d609c03b6be9f3847
parent8fa18c06a2977b0ef00c440f5f103f612ce6dc61
re PR fortran/77978 (stop codes misinterpreted in both f2003 and f2008)

2016-10-17  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77978
* match.c (gfc_match_stopcode): Fix error reporting for several
deficiencies in matching stop-codes.

2016-10-17  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77978
* gfortran.dg/pr77978_1.f90: New test.
* gfortran.dg/pr77978_2.f90: Ditto.
* gfortran.dg/pr77978_3.f90: Ditto.

From-SVN: r241279
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr77978_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr77978_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr77978_3.f90 [new file with mode: 0644]