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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
This went to PR121191 by mistake:

The master branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:70b03019b50a0a7c6219ce89e71e616f5400c339

commit r16-4387-g70b03019b50a0a7c6219ce89e71e616f5400c339
Author: Paul Thomas <[email protected]>
Date:   Mon Oct 13 07:55:18 2025 +0100

    Fortran: Fix ICE in deallocating PDTs [PR121191]

    2025-10-13  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/121191
            * trans-array.cc (has_parameterized_comps): New function which
            checks if a derived type has parameterized components.
            ( gfc_deallocate_pdt_comp): Use it to prevent deallocation of
            PDTs if there are no parameterized components.

    gcc/testsuite/
            PR fortran/121191
            * gfortran.dg/pdt_59.f03: New test.

I will update the ChangeLogs in the coming days.

Paul

Reply via email to