https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114612
--- Comment #3 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:25b380dc63cc7202ed1c7f2048994c3820a96fcd commit r15-6618-g25b380dc63cc7202ed1c7f2048994c3820a96fcd Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Fri Dec 13 12:07:01 2024 +0100 Fortran: Ensure deep copy of allocatable components in cylic types [PR114612] gcc/fortran/ChangeLog: PR fortran/114612 * trans-array.cc (structure_alloc_comps): Ensure deep copy is also done for types having cycles. gcc/testsuite/ChangeLog: * gfortran.dg/alloc_comp_deep_copy_4.f03: New test.