[Patch, fortran] PR42481 - generic interface not recognized

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Jan 13 22:32:00 GMT 2010


This is very straightforward, verging on obvious.  I think that it is
sufficient to compile the testcase but it would run too.

Regtested and bootstrapped on FC9/x86_64 - OK for trunk?

Cheers

Paul

2010-01-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42481
	* module.c (load_generic_interfaces): If a procedure that is
	use associated but not generic is given an interface that
	includes itself, then make it generic.

2010-01-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42481
	* gfortran.dg/generic_19.f90 : New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 3124 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100113/c457d4d8/attachment.bin>


More information about the Fortran mailing list