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

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

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

commit r16-32-gf9ea46d946887a05d7ecbca5aeeb99fd868f6e70
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.

Reply via email to