This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 44360 - Wrong subroutine called (use vs. host association)
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Wed, 2 Jun 2010 06:45:45 +0200
- Subject: Re: [Patch, Fortran] PR 44360 - Wrong subroutine called (use vs. host association)
- References: <4C052ED0.7090302@net-b.de>
Tobias,
It is a matter of considerable surprise to me that we or, rather
Vittorio, find bugs like this!
Nonetheless, when I explicitly applied 14.6.1.3 in
gfc_fixup_sibling_symbols, I apparently missed the sentence in the
introduction:
"If an entity that is accessed by use association has the same
nongeneric name as a host entity, the host entity is inaccessible by
that name.", which is really obvious.
Mea culpa!
> Build and currently regtesting on x86-64-linux, if it succeeds:
> OK for 4.4, 4.5, and the trunk? Should it also be applied to 4.3?
OK. Take it as far back as you have patience for.
Thanks for the patch
Paul