]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/90290 (-std=f2008 should reject non-constant stop and error...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 21 Jun 2019 00:54:28 +0000 (00:54 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 21 Jun 2019 00:54:28 +0000 (00:54 +0000)
commitab7b24942d2903c73744108d38803d4950d3fb47
tree4e6eea6365c1482c2a9faf665702903953664ee0
parent2c5e6cf9cec1ac6fca5765edcffc5b544826e76b
backport: re PR fortran/90290 (-std=f2008 should reject non-constant stop and error stop codes)

2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>

Backport from mainline
PR fortran/90290
* match.c (gfc_match_stopcode): Check F2008 condition on stop code.

2019-06-20  Steven G. Kargl  <kargl@gcc.gnu.org>

Backport from mainline
PR fortran/90290
* gfortran.dg/pr90290.f90: New test.

From-SVN: r272541
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr90290.f90 [new file with mode: 0644]