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

--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jerry DeLisle
<jvdeli...@gcc.gnu.org>:

https://gcc.gnu.org/g:3483a2b39591db06e3cbcdb4bdfa0db468ebc8ee

commit r15-9577-g3483a2b39591db06e3cbcdb4bdfa0db468ebc8ee
Author: Steven G. Kargl <ka...@gcc.gnu.org>
Date:   Fri Apr 18 18:05:10 2025 -0700

    Fortran: Fix checking for IMPURE in DO CONCURRENT.

            PR fortran/119836

    gcc/fortran/ChangeLog:

            * resolve.cc (check_pure_function): Fix checking for
            an impure subprogram within a DO CONCURRENT construct.
            (pure_subroutine): Ditto.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/do_concurrent_all_clauses.f90: Remove invalid
            dg-error test.
            * gfortran.dg/pr119836_1.f90: New test.
            * gfortran.dg/pr119836_2.f90: New test.
            * gfortran.dg/pr119836_3.f90: New test.
            * gfortran.dg/pr119836_4.f90: New test.

    (cherry picked from commit f9ea46d946887a05d7ecbca5aeeb99fd868f6e70)

Reply via email to