[PATCH] PR fortran/65453 -- procedure statement vs subprogram name clash

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Mar 17 00:30:00 GMT 2018


The attached patch fixes an ICE by detecting a name
clash between a procedure statement and a contained
subprogram.  Regression tested on x86_64-*-freebsd.

2018-03-16  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/65453
	* decl.c (get_proc_name): Catch clash between a procedure statement
	and a contained subprogram

2018-03-16  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/65453
	* gfortran.dg/pr65453.f90: New test.

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


More information about the Fortran mailing list