This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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


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

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]