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]

Re: [Patch, fortran] PR38594 - [4.4 Regression] module function name mangled improperly if contained function of same name exists


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


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