Re: [patch, fortran] Fix PR 68426, simplification of SPREAD

2019-01-09 Thread Steve Kargl
On Wed, Jan 09, 2019 at 12:11:12AM +0100, Thomas Koenig wrote: > > the attached patch fixes the PR by simpliy having gfc_simplify_spread > also do its job when there's an EXPR_STRUCTURE. The code to correctly > handle that case was already in place, it just was not run for that > case. > > Regre

[patch, fortran] Fix PR 68426, simplification of SPREAD

2019-01-08 Thread Thomas Koenig
Hello world, the attached patch fixes the PR by simpliy having gfc_simplify_spread also do its job when there's an EXPR_STRUCTURE. The code to correctly handle that case was already in place, it just was not run for that case. Regression-tested. OK for trunk? Regards Thomas ! { dg-do