[PATCH] Fortran: fix bogus diagnostics on renamed interface import [PR110993]
Harald Anlauf
anlauf@gmx.de
Mon Jan 27 20:46:26 GMT 2025
Am 27.01.25 um 01:41 schrieb Jerry D:
> 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.
Pushed to mainline as r15-7234-g9104472b645f76 .
Will backport to 14-branch in a couple of days.
> Jerry
Thanks,
Harald
More information about the Gcc-patches
mailing list