https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122513
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <[email protected]>: https://gcc.gnu.org/g:95cabf531c5d65dfb7d0ccbf2dd0b4ec6825489e commit r16-5023-g95cabf531c5d65dfb7d0ccbf2dd0b4ec6825489e Author: Tobias Burnus <[email protected]> Date: Tue Nov 4 10:23:31 2025 +0100 gfortran.dg/pr122513-2.f90: New test [PR122513] This test is from PR122513; even though the actual error message was already added in GCC 15, there was no testcase for the diagnostic type Index variable 'i' at (1) cannot be specified in a locality-spec Thus, this commit adds one. gcc/testsuite/ChangeLog: PR fortran/122513 * gfortran.dg/pr122513-2.f90: New test.
