[Patch, Fortran] PR 44360 - Wrong subroutine called (use vs. host association)

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Jun 2 04:45:00 GMT 2010


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



More information about the Fortran mailing list