re PR fortran/87991 (ICE in gfc_constructor_append_expr, at fortran/constructor.c...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 14 Aug 2019 04:22:31 +0000 (04:22 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 14 Aug 2019 04:22:31 +0000 (04:22 +0000)
commitade8fdbbfd98aafdc12585885dea60460fea0a26
treeeeec6ca2229ce463b70f5e66aafebc5978143959
parent5747e0c0e1bce0df39ab7ac342162ecdc6e1343d
re PR fortran/87991 (ICE in gfc_constructor_append_expr, at fortran/constructor.c:135)

2019-08-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/87991
* resolve.c (check_data_variable): data-stmt-object with pointer
attribute requires a data-stmt-value with the target attribute.

2019-08-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/87991
* gfortran.dg/pr87991.f90: New test.

From-SVN: r274412
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr87991.f90 [new file with mode: 0644]