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] PR37274 - [Regression] error: type name is ambiguous and PR36374 - nested module inclusion fails


Salvatore,

> Hmmmm. Forgive me if I'm being naive, but just by reading the patch
> code, and not knowing the rest, I am not sure what happens in case of a
> real ambiguity, such as trying to add to the same generic two different
> routines that use indistinguishable arguments. Could you ease my concern
> and confirm that they are resolved in the following mini-example?

Yes, they are correctly resolved, whether the generic 'foobar' is
referenced or not.

I should explain that the patch determines whether or not the symbol
'foobar' is ambiguous or not.  The question of the interfaces is
handled elsewhere.

I think that I might well add your testcase, if I do not see an
equivalent in the testsuite.

Cheers

Paul


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