https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110691
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to anlauf from comment #7) ... > then shows > > ... > 33 files changed, 1712 insertions(+), 234 deletions(-) > > and there are dozens of commits involved. Ha! In order to atone for my avarice, I did it the old fashioned way in 5 steps! It's commit r16-8017-gb018656f8c016d1880d57ee79266cdecf98f41fa Author: Christopher Albert <[email protected]> Date: Tue Mar 10 22:39:54 2026 +0100 Fortran: Fix class dummy-array assignment deep copy [PR110877] Recover the class vptr for scalarized elements of nonpointer dummy arrays so polymorphic assignment uses the deep-copy path. PR fortran/110877 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_trans_assignment_1): Recover the class vptr for scalarized elements of nonpointer dummy arrays. gcc/testsuite/ChangeLog: * gfortran.dg/pr110877.f90: New test. Signed-off-by: Christopher Albert <[email protected]> Cheers Paul
