[PATCH] PR fortran/78300 -- class procedure as actual arg

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Nov 13 22:13:00 GMT 2016


The attach patch allows a procedure with a class result to
be an actual argument to subprogram where the dummy argument
expected to be a class.  OK to commit?

2016-11-14  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/78300
	* resolve.c (resolve_fl_var_and_proc): Allow class procedure an
	actual argument.


2016-11-14  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/78300
	* gfortran.dg/pr78300.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr78300.diff
Type: text/x-diff
Size: 2100 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161113/8651c6be/attachment.bin>


More information about the Fortran mailing list