Re: [patch, fortran] Fix PR 72714, ICE on invalid

2019-03-03 Thread Paul Richard Thomas
Hi Thomas, This is good for trunk. Thanks Paul On Sun, 3 Mar 2019 at 09:46, Thomas Koenig wrote: > > Hello world, > > the attached patch fixes a 7/8/9 regression by rejecting an invalid > expression in coarray allocation that led to an ICE. It also adds a few > more checks. > > One point that

[patch, fortran] Fix PR 72714, ICE on invalid

2019-03-03 Thread Thomas Koenig
Hello world, the attached patch fixes a 7/8/9 regression by rejecting an invalid expression in coarray allocation that led to an ICE. It also adds a few more checks. One point that is checked for is that, unlike normal arrays, coarrays cannot be empty. Regression-tested. OK for trunk and affec