This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
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.
PR fortran/32634 * module.c (write_generic): Write the local name of the interface.
PR fortran/32634 * gfortran.dg/interface_15.f90: New test.
Attachment:
pr32634.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |