re PR fortran/87993 (ICE in gfc_constructor_first, at fortran/constructor.c:234)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 13 Aug 2019 18:06:08 +0000 (18:06 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 13 Aug 2019 18:06:08 +0000 (18:06 +0000)
commit48668ee0d23119ee55f6c844b214342486cc8f1f
treeae85fe4b388cf449b2acb83373a957e2b6cdfed0
parentc53bb876f4ca0c7a622f0909772f5b6f23ff5de4
re PR fortran/87993 (ICE in gfc_constructor_first, at fortran/constructor.c:234)

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

PR fortran/87993
* expr.c (gfc_simplify_expr): Simplifcation of an array with a kind
type inquiry suffix yields a constant expression.

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

PR fortran/87993
* gfortran.dg/pr87993.f90: New test.

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