[Patch, fortran] PR29837 - INTERFACE overloading INTENT problem - valid code is rejected

Paul Thomas paulthomas2@wanadoo.fr
Thu Nov 16 20:53:00 GMT 2006


:ADDPATCH fortran:

This number three in the interface patches, although I have to come 
clean and admit that it was poasted after I started; win one, lose one :-)

The PR is caused by another tiny coding error and is fixed by the 
addition of a missing line.  The patch and ChangeLog entry say it all.  
The testcase is that of the reporter.

Regtested on Cygwin_NT/amd64 - OK for trunk, 4.2 and 4.1?

Paul

2006-11-16  Paul Thomas <pault@gcc.gnu.org>

    PR fortran/29387
    * interface.c (compare_actual_formal): Add missing condition that 
where be present
    for actual arguments being definable error.

2006-11-16  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/29387
    * gfortran.dg/generic_8.f90: New test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr29837.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061116/29b64e3d/attachment.ksh>


More information about the Fortran mailing list