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]

Re: [Patch, Fortran, OOP] PR 46448: [4.6 Regression] symbol `__copy_...' is already defined


Hi Janus,

> One simple alternative that just came to my mind: The whole problem
> would go away if the __copy_ routine would undergo the same name
> mangling as all standard module procedures, i.e. getting a prefix like
> "__m1_" or "__m2_". When looking for the reason, I came up with the
> attached two-line patch, which seems to fix the issue for both the
> single-file as well as multi-file setup, and is much simpler than the
> previous approach (not regtested yet).

this approach looks very good.

OK if it passes regtesting.

Thanks for the patch!

	Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]