[PATCH] PR fortran/89647 -- Allow host associated procedure to be a binding target
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Aug 13 06:53:00 GMT 2019
The attached patch fixes PR fortran/89647, and has been
regression tested on x86_64-*-freebsd.
If a procedure is made accessible by host association, the
that procedure can be used as binding target. During the
resolution of a type bound procedure, gfortran needs to
check the parent namespace for a procedure before it fails.
2019-08-12 Steven G. Kargl <kargl@gcc.gnu.org>
PF fortran/89647
resolve.c (resolve_typebound_procedure): Allow host associated
procedure to be a binding target. While here, wrap long line.
2019-08-12 Steven G. Kargl <kargl@gcc.gnu.org>
PF fortran/89647
* gfortran.dg/pr89647.f90: New test.
OK to commit?
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr89647.diff
Type: text/x-diff
Size: 2478 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190813/409c70ec/attachment.bin>
More information about the Fortran
mailing list