[[Patch, fortran] PR86863 - [OOP][F2008] type-bound module procedure name not recognized
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Aug 12 15:30:00 GMT 2018
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 <pault@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 <pault@gcc.gnu.org>
PR fortran/86863
* gfortran.dg/submodule_32.f08: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2723 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180812/74bc2899/attachment.bin>
More information about the Gcc-patches
mailing list