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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>:

https://gcc.gnu.org/g:469fad0161afeb9369010ad498198297993ca592

commit r12-8145-g469fad0161afeb9369010ad498198297993ca592
Author: Tobias Burnus <tob...@codesourcery.com>
Date:   Wed Apr 13 18:40:52 2022 +0200

    OpenMP/Fortran: Fix EXIT in loop diagnostic [PR105242]

    gcc/fortran/ChangeLog:

            PR fortran/105242
            * match.cc (match_exit_cycle): Handle missing OMP LOOP, DO and SIMD
            directives in the EXIT/CYCLE diagnostic.

    gcc/testsuite/ChangeLog:

            PR fortran/105242
            * gfortran.dg/gomp/loop-exit.f90: New test.

Reply via email to