[Patch, fortran] PR122089 - generic resolution problem with composite PDT
Harald Anlauf
anlauf@gmx.de
Tue Sep 30 19:12:09 GMT 2025
Am 30.09.25 um 10:11 schrieb Paul Richard Thomas:
> The testcase was failing at
> interface.cc(gfc_compare_derived_types):683 and so a specific
> procedure was not being found. I posted a "fix" on the PR, which works
> but is incorrect. The attached fixes this by ensuring that PDT
> instances of a use associated PDT template, take the use association
> and module name from the template. This allows the strcmp to pass and
> the generic matching to succeed.
>
> Regtested on FC42/x86_64. OK for mainline?
Hi Paul,
having verified it here, this is OK. And trivial enough ;-)
Thanks for the patch!
Harald
>
> Paul
More information about the Fortran
mailing list