re PR fortran/85798 (ICE in get_array_index, at fortran/data.c:69)
commit02543f02639c5fd0bd2755699f6d19c0043801ce
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 22 Dec 2018 19:37:06 +0000 (22 19:37 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 22 Dec 2018 19:37:06 +0000 (22 19:37 +0000)
tree0d8fc7f8171c7f0f7a6d3bd5bcc20654e93780f2
parent73f5d219bb59d2930010220d144bbff22031fb90
re PR fortran/85798 (ICE in get_array_index, at fortran/data.c:69)

2018-12-22  Steven G . Kargl  <kargl@gcc.gnu.org>

PR fortran/85798
* decl.c (gfc_match_data): If a component of a derived type entity
appears in data statement, check that does not have the allocatable
attribute.

2018-12-22  Steven G . Kargl  <kargl@gcc.gnu.org>

PR fortran/85798
* gfortran.dg/pr85798.f90: New test.

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