https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110639
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> --- Posted a patch for (A) https://gcc.gnu.org/pipermail/gcc-patches/2023-December/639947.html but it seems as if I might have misunderstood some parts of the example at OpenMP spec issue #1796 (TRAC864) / OpenMP Pull Req. #912 Thus, this needs to be rechecked. - It might be that the current state of mainline is just fine, that some parts of this patch still make sense, or that more issues exist.