https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90406
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |jakub at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is again a clang bug. if clause is on the parallel (after all, it is not a combined/composite construct in this case), so the expression in the clause is evaluated outside of the parallel's context, not inside of it.