https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87668
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> --- GCC is correct here. Even with the recent 5.0 clarifications, those expressions are to be evaluated before the worksharing-loop construct, but still inside of the parallel region, so with default(none) d needs to be specified on the parallel (e.g. shared or firstprivate).