[Bug fortran/104048] ICE with recursively defined derived type
"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048 --- Comment #14 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:4f1c60804531475ad86206f3cc298da6ce001d83 commit r17-3280-g4f1c60804531475ad86206f3cc298da6ce001d83 Author: Paul Thomas <[email protected]> Date: Wed Aug 12 17:24:12 2026 +0100 Fortran: Fix ICE with recursively defined derived type [PR104048] 2026-08-14 Paul Thomas <[email protected]> gcc/fortran PR fortran/104048 * trans-array.cc (structure_alloc_comps): Extend the wrapper mechanism for same type allocatable arrays to scalars, creating descriptors for them and passing to the deep copy library fcn.. gcc/testsuite/ PR fortran/104048 * gfortran.dg/recursive_alloc_comp_7.f90: New test. * gfortran.dg/recursive_alloc_comp_8.f90: New test.