re PR fortran/90290 (-std=f2008 should reject non-constant stop and error stop codes)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 6 May 2019 23:24:32 +0000 (23:24 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 6 May 2019 23:24:32 +0000 (23:24 +0000)
commitc21ffa3e53606d421c44f13fbd9e96a49b0cf833
treed376cbb87c5845bec6297bee384dcd8e7bf0c39d
parentb56be669f0aa79df4937c780306b77af538cd3a6
re PR fortran/90290 (-std=f2008 should reject non-constant stop and error stop codes)

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

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

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

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

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