https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122513

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:ffe538c831daeb72d935fb7fd796b6ce4a13c820

commit r16-5014-gffe538c831daeb72d935fb7fd796b6ce4a13c820
Author: Steve Kargl <[email protected]>
Date:   Mon Nov 3 11:47:54 2025 -0800

    Fortran: Fix check on locality spec DO CONCURRENT

            PR fortran/122513

    gcc/fortran/ChangeLog:

            * resolve.cc (check_default_none_expr): Do not allow an
            iterator in a locality spec. Allow a named constant to be
            used within the loop.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr122513.f90: New test.

Reply via email to