[PATCH,committed] PR fortran/82620 -- fix detection of syntax error

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Oct 28 01:11:00 GMT 2017


I've committed the following patch to fix a problem
where gfortran ICEs after detection of a syntax 
error in an allocate statement.  The patch was
regression tested on x86_64-*-freebsd.

                === gfortran Summary ===

# of expected passes            46027
# of expected failures          97
# of unsupported tests          82
/mnt/sgk/gcc/obj/gcc/gfortran  version 8.0.0 20171028 (experimental) (GCC) 


2017-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/82620
	* match.c (gfc_match_allocate): Exit early on syntax error.

2017-10-27  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/82620
	* gfortran.dg/allocate_error_7.f90: new test.

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z.diff
Type: text/x-diff
Size: 1073 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171028/9d5cf909/attachment.bin>


More information about the Fortran mailing list