[Bug c/90406] OpenMP default(none) + if(variable) - difference with clang
lebedev.ri at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu May 9 09:31:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90406
--- Comment #2 from Roman Lebedev <lebedev.ri at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> 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.
Thank you for a speedy reply! :(
More information about the Gcc-bugs
mailing list