Re: [PATCH] PR fortran/90002 -- Free array-spec for assumed-shaped coarray

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] PR fortran/90002 -- Free array-spec for assumed-shaped coarray

Paul Richard Thomas
OK, Steve

Thanks

Paul

On Wed, 12 Jun 2019 at 02:04, Steve Kargl
<[hidden email]> wrote:

>
> The attached patch fixes an ICE when freeing an array-spec
> that involves an assumed-shaped coarray (see testcase).  The
> patch regression tests cleanly.  I don't use coarrays, so
> cannot say whether the testcase is valid Fortran.  I simply
> fixed the ICE.  OK to commit?
>
> 2019-06-11  Steven G. Kargl  <[hidden email]>
>
>         PR fortran/90002
>         * array.c (gfc_free_array_spec): When freeing an array-spec, avoid
>         an ICE for assumed-shape coarrays
>
> 2019-06-11  Steven G. Kargl  <[hidden email]>
>
>         PR fortran/90002
>         * gfortran.dg/pr90002.f90: New test.
>
> --
> Steve



--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein