https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116040
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:3937e01b4eba511a4a5fd2bcd0c81c62fe3ec68a commit r13-9165-g3937e01b4eba511a4a5fd2bcd0c81c62fe3ec68a Author: Paul Thomas <pa...@gcc.gnu.org> Date: Sun Nov 3 15:45:32 2024 +0000 Fortran: Fix regression in 13-branch due to pr113363.f90 [PR116040] 2023-11-03 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/116040 * trans-stmt.cc (trans_associate_var): Copy chunk in 14-branch that correctly handles class function selectors.