]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP/Fortran: Skip context selectors that have OMP_TRAIT_INVALID [PR122439]
authorPaul-Antoine Arras <parras@baylibre.com>
Mon, 27 Oct 2025 14:25:17 +0000 (15:25 +0100)
committerPaul-Antoine Arras <parras@baylibre.com>
Tue, 28 Oct 2025 09:55:37 +0000 (10:55 +0100)
commitb8a8bb30d950b49beeac17e3495ca78d67278cd7
tree1f76c25a63bdb651c9ebd227f80cfbc966f2ad40
parent84d9fde22d5e6f0d62d76cf3a6f8c6d973ff2442
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.
gcc/fortran/openmp.cc