On 11/25/25 7:48 AM, Paul Richard Thomas wrote:
Hi All,

The attached patch implements PDT finalizers and, in doing so, fixes the PR. The testcase also tests the second PDT example in the F2018 standard, which used to fail in spectacular fashion.

I have checked that all the symbols are indeed deleted during post compilation clean up. I have also checked that the ongoing work to get fiats to compile (nearly there!) and run is not affected by this patch. The new field in gfc_symbol, 'template_sym' is going to come in handy for all sorts of future housekeeping such as providing a more concise type name in error messages.

Although the patch looks fairly weighty, I believe that it is well described by the ChangeLog and the comments in the patch.

Regtests on FC43/x86_64. OK for mainline?

Cheers

Paul


Looks Good To Me, reviewed, applied, tested OK here. OK.

Regards,

Jerry

Reply via email to