[Patch, fortran] PR38594 - [4.4 Regression] module function name mangled improperly if contained function of same name exists
Daniel Kraft
d@domob.eu
Sat Jan 3 14:30:00 GMT 2009
Paul Richard Thomas wrote:
> Dear All,
>
> Happy New Year to you all!
>
> This is a fix for one of the rash of regressions that were reported
> before Christmas - it's a pity, since we were down to two, but it does
> show that folk out there are using gfortran:-)
>
> The chunk of code in resolve_call that checks host association was
> substituting the symbol for the correct procedure and popping it on to
> the symtree. This was OK for generic procedures, such as in
> host_assoc_call_3.f90. This latter was what triggered the
> introduction of this bit of code. I missed the fact that it failed
> for specific references. This patch fixes that by looking for the
> symtree and substituting that in the call, except for generic
> references.
>
> Bootstrapped and regtested on FC9/x86_i64 - OK for trunk?
Ok. Thanks!
Daniel
--
Done: Arc-Bar-Cav-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri-Ran
More information about the Fortran
mailing list