Re: [Patch, fortran] PR88980 - [9 regression] segfault on allocatable string member assignment

2019-02-01 Thread Steve Kargl
On Fri, Feb 01, 2019 at 01:10:21PM +, Paul Richard Thomas wrote: > This patch is rather simpler than it looks. > > The segfault was occurring because r264724 changed the array reference > for cases like these to use pointer arithmetic to obtain the element. > Unfortunately, in the case, the

[Patch, fortran] PR88980 - [9 regression] segfault on allocatable string member assignment

2019-02-01 Thread Paul Richard Thomas
This patch is rather simpler than it looks. The segfault was occurring because r264724 changed the array reference for cases like these to use pointer arithmetic to obtain the element. Unfortunately, in the case, the span field of the descriptor was not being set during the allocation of the