[Bug fortran/122513] do concurrent default (none) fails on parameter arrays

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 3 20:31:42 GMT 2025


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 <jvdelisle@gcc.gnu.org>:

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

commit r16-5014-gffe538c831daeb72d935fb7fd796b6ce4a13c820
Author: Steve Kargl <kargls@comcast.net>
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.


More information about the Gcc-bugs mailing list