[Patch, Fortran, OOP] PR 44917/44926/46196 (generic TBP ambiguities)
Janus Weil
janus@gcc.gnu.org
Sat Oct 30 13:25:00 GMT 2010
Hi all,
the attached patch fixes the three PRs in the subject line (which are
basically the same bug). All of them involve generic type-bound
procedures with ambiguous interfaces. For an explanation of the patch
see PR 49196 comment #7.
The patch was regtested on x86_64-unknown-linux-gnu with no failures.
Ok for trunk?
Cheers,
Janus
2010-10-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/44917
PR fortran/44926
PR fortran/46196
* interface.c (count_types_test): Symmetrize type check.
(generic_correspondence): Ditto.
2010-10-30 Janus Weil <janus@gcc.gnu.org>
PR fortran/44917
PR fortran/44926
PR fortran/46196
* gfortran.dg/typebound_generic_10.f03: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr46196.diff
Type: application/octet-stream
Size: 1319 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101030/602d0d28/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typebound_generic_10.f03
Type: application/octet-stream
Size: 717 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20101030/602d0d28/attachment-0001.obj>
More information about the Fortran
mailing list