[Patch, fortran] PR122089 - generic resolution problem with composite PDT
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Sep 30 08:11:55 GMT 2025
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?
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change.Logs
Type: application/octet-stream
Size: 347 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250930/fffc3a72/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 2303 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20250930/fffc3a72/attachment.bin>
More information about the Fortran
mailing list