[Committed] PR fortran/51991 -- Suppress a bogus SAVE error message

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Jun 21 17:02:00 GMT 2019


This PR was submitted on 2012-01-25.  It seems that I
posted a patch in comment #9 on 2012-01-25.  But the 
patch was never submitted to fortran@ and patches@.  The
patch is straight forward in that it suppresses a bogus
error message which then allows gfortran to issue a
more suitable error message.  It was past time to commit.

2019-06-21  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/51991
	* decl.c (gfc_match_save): If SAVE was not seen, return MATCH_NO
	instead issuing an error message and returning MATCH_ERROR.

2019-06-21  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/51991
	gfortran.dg/pr51991.f90

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr51991.diff
Type: text/x-diff
Size: 1345 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190621/255c6942/attachment.bin>


More information about the Fortran mailing list