re PR fortran/69962 (ICE on missing parameter attribute, in gfc_set_constant_characte...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 19:24:49 +0000 (19:24 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 30 Jul 2016 19:24:49 +0000 (19:24 +0000)
commitb441ae1d89410e8f95a4c3317db0f52831bfaf0e
treeb4f538f9fcb1ce39640cb256c19b2e74d57ca8b1
parent712dff3172d503c496366d148c8e3fe018b584a5
re PR fortran/69962 (ICE on missing parameter attribute, in gfc_set_constant_character_len)

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/69962
* decl.c (gfc_set_constant_character_len):  if expr is not
constant issue an error instead of an ICE.

2016-07-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/69962
* gfortran.dg/pr69962.f90: New test.

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