]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/78479 (ICE in gfc_apply_init, at fortran/expr.c:4135)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 22 Nov 2016 21:52:15 +0000 (21:52 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 22 Nov 2016 21:52:15 +0000 (21:52 +0000)
commit7e98cccbd85a0bc5ec6b7edf0017d98c2e96aef5
tree8bceaa50e6ac9a2dbefc7dcde232417bd2186f0f
parent7239bf746acb27f8b116e0fbf1b6e40ec12d40d3
re PR fortran/78479 (ICE in gfc_apply_init, at fortran/expr.c:4135)

2016-11-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78479
* expr.c (gfc_apply_init):  Allocate a charlen if needed.

2016-11-22  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78479
* gfortran.dg/char_component_initializer_3.f90: New test.

From-SVN: r242725
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_component_initializer_3.f90 [new file with mode: 0644]