https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119380
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>: https://gcc.gnu.org/g:a5c69abf1384ec6163cd5e14146e8b3876e8b95c commit r15-8642-ga5c69abf1384ec6163cd5e14146e8b3876e8b95c Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Fri Mar 21 09:13:29 2025 +0100 Fortran: Fix freeing procedure pointer components [PR119380] PR fortran/119380 gcc/fortran/ChangeLog: * trans-array.cc (structure_alloc_comps): Prevent freeing of procedure pointer components. gcc/testsuite/ChangeLog: * gfortran.dg/proc_ptr_comp_54.f90: New test.