https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:58708cc6a599aa80f6b0422bd6aa33396f26077c commit r14-10928-g58708cc6a599aa80f6b0422bd6aa33396f26077c 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)