Re: [PR fortran/71203, patch] - ICE on zero-length arrays or substrings

2019-03-06 Thread Harald Anlauf
Committed as rev.269444 to trunk, rev.269445 to 8-branch. Thanks for the review! Harald On 03/06/19 00:07, Thomas Koenig wrote: > Hi Harald, > >> To the reviewer: I am not 100% sure that my solution is correct, but it >> solves the issues reported and regtests cleanly on x86_64-pc-linux-gnu. >>

Re: [PR fortran/71203, patch] - ICE on zero-length arrays or substrings

2019-03-05 Thread Thomas Koenig
Hi Harald, To the reviewer: I am not 100% sure that my solution is correct, but it solves the issues reported and regtests cleanly on x86_64-pc-linux-gnu. OK for trunk? Backports? I don't see how adding the charlen to the current namespace can hurt, so I think this is OK. Regarding backport

[PR fortran/71203, patch] - ICE on zero-length arrays or substrings

2019-03-05 Thread Harald Anlauf
The attached patch addresses ICEs on several situations with zero-length arrays of strings or zero-length substrings, which were caused by a NULL pointer dereference in those particular situations. To the reviewer: I am not 100% sure that my solution is correct, but it solves the issues reported a