This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, Fortran, OOP] PR 44917/44926/46196 (generic TBP ambiguities)


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.

Attachment: pr46196.diff
Description: Binary data

Attachment: typebound_generic_10.f03
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]