[PATCH] Fix-up for PR fortran/66724 and fortran/66725

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Jul 16 20:03:00 GMT 2015


The attached patch is needed to fully address PR fortran/66724 and
fortran/66725.  In is_char_type(), we need to call gfc_resolve_expr
to properly resolve the tag, e.g., ASYNCHRONOUS="Y"//"E"//"S".
At the same time, I forgot call is_char_type for ASYNCHRONOUS.
Regression tested on trunk.  OK to commit?

2015-07-16  Steven G. Kargl  <kargl@gcc.gnu.org>

	* io.c (is_char_type): Call gfc_resolve_expr().
	(match_open_element, match_dt_element, match_inquire_element): Fix
	ASYNCHRONOUS case.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io2.diff
Type: text/x-diff
Size: 1556 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150716/faa92c99/attachment.bin>


More information about the Fortran mailing list