Re: [Patch, fortran] PR67721 deep copy missing when assigning derived type constructor to an array

2015-10-02 Thread H.J. Lu
On Sat, Sep 26, 2015 at 6:10 AM, Mikael Morin wrote: > Hello, > > I've just submitted this PR, and the patch as well, which passes the > testsuite. > > The problem is a missing deep copy when the rhs is a (scalar) derived type > constructor (with allocatable components) and

Re: [Patch, fortran] PR67721 deep copy missing when assigning derived type constructor to an array

2015-10-02 Thread Steve Kargl
On Fri, Oct 02, 2015 at 09:33:33AM -0700, H.J. Lu wrote: > On Sat, Sep 26, 2015 at 6:10 AM, Mikael Morin wrote: > > Hello, > > > > I've just submitted this PR, and the patch as well, which passes the > > testsuite. > > > > The problem is a missing deep copy when the rhs is a

[Patch, fortran] PR67721 deep copy missing when assigning derived type constructor to an array

2015-09-26 Thread Mikael Morin
Hello, I've just submitted this PR, and the patch as well, which passes the testsuite. The problem is a missing deep copy when the rhs is a (scalar) derived type constructor (with allocatable components) and the lhs an array. The patch removes the nonconstantness condition, so that the

Re: [Patch, fortran] PR67721 deep copy missing when assigning derived type constructor to an array

2015-09-26 Thread Paul Richard Thomas
Dear Mikael, Apart from the regtesting, this patch is 'obvious'. This is good for trunk and, I would suggest, after a decent interval 5 branch. Thanks for the PR and the patch. Paul On 26 September 2015 at 15:10, Mikael Morin wrote: > Hello, > > I've just submitted this