[Bug fortran/104048] ICE with recursively defined derived type
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 14 09:16:42 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:08d27169190cd6ac183bf1d67478b69c456bbf13
commit r16-9535-g08d27169190cd6ac183bf1d67478b69c456bbf13
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Wed Aug 12 17:24:12 2026 +0100
Fortran: Fix ICE with recursively defined derived type [PR104048]
2026-08-14 Paul Thomas <pault@gcc.gnu.org>
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.
(cherry picked from commit 4f1c60804531475ad86206f3cc298da6ce001d83)
More information about the Gcc-bugs
mailing list