re PR fortran/68154 (ICE on initializing character parameter array (explicit, implied))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 30 Oct 2015 16:26:59 +0000 (16:26 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 30 Oct 2015 16:26:59 +0000 (16:26 +0000)
commitdc0f176a1c2142d6814b9b47ed516c9a0b2b9592
treea6154385dcaeb865e9c74b0186eda483530adef3
parente3316e3caaf2a009c44ed51bfa9047d0f80903bf
re PR fortran/68154 (ICE on initializing character parameter array (explicit, implied))

2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68154
* decl.c (add_init_expr_to_sym): if the char length in the typespec
is NULL, check for and use a constructor.

2015-10-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68154
*gfortran.dg/pr68154.f90

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