re PR fortran/82049 (ICE with character(*),parameter array constructor)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 7 Feb 2018 20:43:33 +0000 (20:43 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 7 Feb 2018 20:43:33 +0000 (20:43 +0000)
commit52b16cb3d48a328c9cdaa0ca55c151066ec65e4d
treea754eae490553a484687b24ac6a9c97daedf384e
parentf320fdfd22463a969024c05347dc9fc24291296a
re PR fortran/82049 (ICE with character(*),parameter array constructor)

2018-02-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82049
* match.c (gfc_match_type_spec): If the charlen is non-NULL, then
try to resolve it.  While here return early if possible.

2018-02-06  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82049
* gfortran.dg/assumed_charlen_parameter.f90: New test.

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