On 6/22/26 2:23 AM, Paul Richard Thomas wrote:
Hello All,

The attached patch fixes the memory leak in pdt_77.f03. The problem
was diagnosed by the addition of the final subroutine, which appears
in the updated version of the pdt_77.f03 test case. Once it was
understood that the _vptr of the class component 'p' was not being set
correctly, the use of a VIEW_CONVERT_EXPR to pass the component
expression to alloc_navier_stokes was a clear signal that the
conversion to a class type was not being done correctly and so the
offending error in decl.cc was quickly found.

The patch regression tests correctly with FC44/x86_64. OK for mainline
and beckporting to 16-branch after an interval?

Cheers

Paul

Looks good Paul, applied and checked here. Backport to 16 OK too.

Regards,

Jerry

Reply via email to