https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:7f93910a8b5d606ad742a3594750f0c2b20d8bda commit r15-4835-g7f93910a8b5d606ad742a3594750f0c2b20d8bda 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.