[PATCH] Fortran: fix bogus diagnostics on renamed interface import [PR110993]

Jerry D jvdelisle2@gmail.com
Mon Jan 27 00:41:13 GMT 2025


On 1/26/25 2:07 PM, Harald Anlauf wrote:
> Dear all,
> 
> in the checking of imported interfaces we need to use the local names
> of procedures that are renamed-on-use, as the original name becomes
> inaccessible.  Similarly, we should not compare interfaces of
> non-bind(C) procedures against bind(C) interfaces that are not
> explicitly made accessible via a use statement, see testcase.
> 
> Regtested on x86_64-pc-linux-gnu.  OK for mainline?
> 
> Could this one be backportable, e.g. to 14-branch?
> 
> Thanks,
> Harald
> 

This is OK. Backport up to you.

Jerry



More information about the Fortran mailing list