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] PR 44360 - Wrong subroutine called (use vs. host association)


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


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