[PATCH] PR fortran/85895 -- Check for valid errmsg entity

Janus Weil janus@gcc.gnu.org
Thu May 24 20:14:00 GMT 2018


2018-05-24 1:45 GMT+02:00 Steve Kargl <sgk@troutmask.apl.washington.edu>:
> The attach patch fixes PR fortran/85895 and also addresses
> a nearby issue by resolving the expressions associated with
> the STAT= and ERRMSG= tags in SYNC statements.  OK to commit?

Looks good to me. Thanks for the patch!

Cheers,
Janus



> 2018-05-23  Steven G. Kargl  <kargl@gcc.gnu.org>
>
>         PR fortran/85895
>         * resolve.c (resolve_sync): Resolve expression before checking for
>         an error.
>
> 2018-05-23  Steven G. Kargl  <kargl@gcc.gnu.org>
>
>         PR fortran/85895
>
>         * gfortran.dg/coarray_3.f90: Fix invalid testcase.
>         * gfortran.dg/pr85895.f90: New test.
>
> --
> Steve



More information about the Fortran mailing list