https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119836
--- Comment #14 from kargls at comcast dot net --- Created attachment 61157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61157&action=edit Patch to fix issue Here are Changelog entries for fortran/ and testsuite/. 2025-04-18 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/119836 * resolve.cc(check_pure_function, pure_subroutine): Fix checking for an impure subprogram within a DO CONCURRENT construct. 2025-04-18 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/119836 * gfortran.dg/do_concurrent_all_clauses.f90: Remove invalid dg-error test. * gfortran.dg/pr119836_1.f90: New test. * gfortran.dg/pr119836_2.f90: Ditto. * gfortran.dg/pr119836_3.f90: Ditto. * gfortran.dg/pr119836_4.f90: Ditto.