Hi Thomas, This is good for trunk.
Thanks Paul On Sun, 3 Mar 2019 at 09:46, Thomas Koenig <tkoe...@netcologne.de> 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 is checked for is that, unlike normal arrays, coarrays > cannot be empty. > > Regression-tested. OK for trunk and affected branches? > > Regards > > Thomas > > 2019-03-02 Thomas Koenig <tkoe...@gcc.gnu.org> > > > > PR fortran/72714 > > * resolve.c (resolve_allocate_expr): Add some tests for > coarrays. > > > 2019-03-02 Thomas Koenig <tkoe...@gcc.gnu.org> > > > > PR fortran/72714 > > * gfortran.dg/coarray_allocate_11.f90: New test. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein