https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121972

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:bb873ada17b5cea56e7ac4c4156af2f07e8db2cf

commit r17-1767-gbb873ada17b5cea56e7ac4c4156af2f07e8db2cf
Author: Paul Thomas <[email protected]>
Date:   Tue Jun 23 10:21:47 2026 +0100

    Fortran: Fix memory leaks in PDT tests. [PR121972]

    2026-06-22  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/121972
            * decl.cc (build_struct): Convert the PDT template before the
            call to gfc_build_class_symbol.

    gcc/testsuite/
            PR fortran/121972
            * gfortran.dg/pdt_77.f03: Add 'finalalize_navier_stokes', which
            tests that the 'navier_stokes' component 'p' is pointed to the
            correct vtable in both tests. Check that VIEW_CONVERT_EXPR does
            not appear in the tree dump.

Reply via email to