[Patch, fortran] PR32634 - renamed, use associated generic interface rejected

Paul Thomas paulthomas2@wanadoo.fr
Sun Jul 8 13:27:00 GMT 2007


I will commit this to trunk on Tuesday morning, unless anybody 
objects/come up with a contrary review.

Cheers

Paul
> :ADDPATCH fortran:
>
> This PR is best explained by the testcase, which is the reporter's
> original.  The call to 'foo_pwrk' failed but a call to the original
> name, 'bar_pwrk'.  The reason for this turned out to be almost
> unbelievable simple; the wrong name was written to foo_pr_mod.mod.
>
> This fix is correspondingly simple - lift the code that is used
> elsewhere in module.c to scan for local names for the interface and to
> write these to the module.
>
> Regtested on Cygwin_NT - OK for trunk?
>
> Paul
>
> 2007-07-06  Paul Thomas  <pault@gcc.gnu.org>
>
>     PR fortran/32634
>     * module.c (write_generic): Write the local name of the
>     interface.
>
> 2007-07-06  Paul Thomas  <pault@gcc.gnu.org>
>
>     PR fortran/32634
>     * gfortran.dg/interface_15.f90: New test.




More information about the Fortran mailing list