https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700
--- Comment #22 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:50139164b162c968d1e46b4c4a80bd815a00a5da commit r13-9189-g50139164b162c968d1e46b4c4a80bd815a00a5da Author: Paul Thomas <pa...@gcc.gnu.org> Date: Fri Nov 1 07:45:00 2024 +0000 Fortran: Fix problems with substring selectors in ASSOCIATE [PR115700] 2024-11-01 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/115700 * resolve.cc (resolve_assoc_var): Extract a substring reference with missing as well as non-constant start or end. gcc/testsuite/ PR fortran/115700 * gfortran.dg/associate_69.f90: Activate commented out tests. * gfortran.dg/associate_70.f90: Test correct functioning of references in associate_69.f90 tests. (cherry picked from commit 7f93910a8b5d606ad742a3594750f0c2b20d8bda)