Re: [patch, fortran] Fix PR 43072

2019-01-15 Thread Thomas Koenig
Hi Steve, On Tue, Jan 15, 2019 at 10:58:33PM +0100, Thomas Koenig wrote: the attached patch fixes a missed optimization where a substring equal in length to the original variable currently leads to an unneeded temporary. Regression-tested. OK for trunk? Yes. See below. Thanks. 2019-01

Re: [patch, fortran] Fix PR 43072

2019-01-15 Thread Steve Kargl
On Tue, Jan 15, 2019 at 10:58:33PM +0100, Thomas Koenig wrote: > > the attached patch fixes a missed optimization where a substring equal > in length to the original variable currently leads to an unneeded > temporary. > > Regression-tested. OK for trunk? Yes. See below. > > 2019-01-15 Thoma

[patch, fortran] Fix PR 43072

2019-01-15 Thread Thomas Koenig
Hello world, the attached patch fixes a missed optimization where a substring equal in length to the original variable currently leads to an unneeded temporary. Regression-tested. OK for trunk? Regards Thomas 2019-01-15 Thomas Koenig PR fortran/43072 * resolve.c (r