Discussion:
[[Patch, fortran] PR86863 - [OOP][F2008] type-bound module procedure name not recognized
Paul Richard Thomas
2018-08-12 15:30:20 UTC
Permalink
I have cast around for a better way to fix this bug but have not come
up with anything. Although brute force, the patch does the job. The
testcase has been extended to include a MODULE PROCEDURE in a
submodule, which I think must have been the contributor's original
intention.

Bootstrapped and regtested on FC28/x86_64 - OK for trunk?

Paul

2017-08-12 Paul Thomas <***@gcc.gnu.org>

PR fortran/86863
* resolve.c (resolve_typebound_call): If the TBP is not marked
as a subroutine, check the specific symbol.

2017-08-12 Paul Thomas <***@gcc.gnu.org>

PR fortran/86863
* gfortran.dg/submodule_32.f08: New test.

Loading...