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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul-Antoine Arras <[email protected]>:

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

commit r16-4681-gb8a8bb30d950b49beeac17e3495ca78d67278cd7
Author: Paul-Antoine Arras <[email protected]>
Date:   Mon Oct 27 15:25:17 2025 +0100

    OpenMP/Fortran: Skip context selectors that have OMP_TRAIT_INVALID
[PR122439]

    This fixes a fallout of r16-4540-g80af807e52e4f4 that caused undefined
    behaviour.

            PR fortran/122439

    gcc/fortran/ChangeLog:

            * openmp.cc (gfc_resolve_omp_context_selector): Skip selectors that
have
            OMP_TRAIT_INVALID.

Reply via email to