https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121616
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:98f784357bef1f7212e0bc758f7c6e7d9a473562 commit r13-10263-g98f784357bef1f7212e0bc758f7c6e7d9a473562 Author: Harald Anlauf <[email protected]> Date: Thu Sep 11 20:17:31 2025 +0200 Fortran: fix assignment to allocatable scalar polymorphic component [PR121616] PR fortran/121616 gcc/fortran/ChangeLog: * primary.cc (gfc_variable_attr): Properly set dimension attribute from a component ref. gcc/testsuite/ChangeLog: * gfortran.dg/alloc_comp_assign_17.f90: New test. (cherry picked from commit 0899b826f7196f609fc8991456eb728802061318)
