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

Steve Kargl sgk@troutmask.apl.washington.edu
Wed May 23 23:45:00 GMT 2018


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?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85895.diff
Type: text/x-diff
Size: 2158 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180523/0b5ddbcd/attachment.bin>


More information about the Fortran mailing list