[patch, fortran] Fix PR 72714, ICE on invalid
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Mar 3 13:07:00 GMT 2019
Hi Thomas,
This is good for trunk.
Thanks
Paul
On Sun, 3 Mar 2019 at 09:46, Thomas Koenig <tkoenig@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 <tkoenig@gcc.gnu.org>
>
>
>
> PR fortran/72714
>
> * resolve.c (resolve_allocate_expr): Add some tests for
> coarrays.
>
>
> 2019-03-02 Thomas Koenig <tkoenig@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
More information about the Fortran
mailing list