: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.