re PR fortran/64124 ([F95] Valid constant expr rejected)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Mar 2018 00:42:41 +0000 (00:42 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 8 Mar 2018 00:42:41 +0000 (00:42 +0000)
commit00df7c36f5c0d082f3ac4f240546d3c4d4812fdd
tree9886dae8a401f36eda0fc1a13250e60c8158ffb1
parent4b7b455cf985aa9be1ce294bd9719d1d5d8c5e74
re PR fortran/64124 ([F95] Valid constant expr rejected)

2018-03-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/64124
PR fortran/70409
* decl.c (gfc_match_char_spec): Try to reduce a charlen to a constant.

2018-03-07  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/64124
PR fortran/70409
* gfortran.dg/pr64124.f90: New tests.
* gfortran.dg/pr70409.f90: New tests.

From-SVN: r258347
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr64124.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr70409.f90 [new file with mode: 0644]