re PR fortran/68426 (Simplification of SPREAD with a derived type element is unimplem...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 9 Jan 2019 20:31:07 +0000 (20:31 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 9 Jan 2019 20:31:07 +0000 (20:31 +0000)
commitee0b3cea205eb7e832d7262425ddee8ed34778e5
treeecee54824e8a7db5f4123fb1ac5d96a96d14c708
parent33142cf9cf82aa1f1be6b8c77f903818c101b9dd
re PR fortran/68426 (Simplification of SPREAD with a derived type element is unimplemented)

2019-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68426
* simplify.c (gfc_simplify_spread): Also simplify if the
type of source is an EXPR_STRUCTURE.

2019-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/68426
* gfortran.dg/spread_simplify_1.f90: New test.

From-SVN: r267781
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/spread_simplify_1.f90 [new file with mode: 0644]