Rebased the patch on trunk. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121628
This patch replaces the CFI-based runtime helper with a descriptor walker so recursive allocatable components are deep-copied at run time instead of triggering compile-time recursion. The front end now allocates the destination, reuses scalar copy wrappers where possible, and wires the helper with the correct function-pointer type. Two executing dg tests derived from the 121628 reproducers confirm the fix. Bootstrapped (Fortran-only) and make check-fortran on x86_64-linux.
0001-gfortran-runtime-deep-copy-via-descriptor-walker-1.patch
Description: Binary data
