Re: [PR fortran/87045, patch] - pointer to array of character

2019-03-13 Thread Harald Anlauf
Committed as r269664. Thanks for the review! Harald On 03/13/19 01:41, Steve Kargl wrote: > On Sun, Mar 10, 2019 at 10:19:03PM +0100, Harald Anlauf wrote: >> The code in the testcase died due to a run-time bounds-check >> generated slightly too early, leading to a crash for deferred >>

Re: [PR fortran/87045, patch] - pointer to array of character

2019-03-12 Thread Steve Kargl
On Sun, Mar 10, 2019 at 10:19:03PM +0100, Harald Anlauf wrote: > The code in the testcase died due to a run-time bounds-check > generated slightly too early, leading to a crash for deferred > character length. Moving the character length check after the > assignment solves the issue. > >

[PR fortran/87045, patch] - pointer to array of character

2019-03-10 Thread Harald Anlauf
The code in the testcase died due to a run-time bounds-check generated slightly too early, leading to a crash for deferred character length. Moving the character length check after the assignment solves the issue. Regtests cleanly on x86_64-pc-linux-gnu. OK for trunk? Thanks, Harald