[Bug middle-end/100144] [OpenMP] Data race with "omp parallel master taskloop ... shared(scalar)"

2021-04-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100144 --- Comment #2 from Tobias Burnus --- Sollve_vv's testcase has been fixed: Issue: https://github.com/SOLLVE/sollve_vv/issues/324 Patch test_parallel_master_taskloop.c: https://github.com/SOLLVE/sollve_vv/pull/325 Patch

[Bug middle-end/100144] [OpenMP] Data race with "omp parallel master taskloop ... shared(scalar)"

2021-04-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100144 --- Comment #1 from Jakub Jelinek --- This looks just like a bogus assumption in the testcase. The taskloop directive says that the iterations are split into some tasks. As neither num_tasks nor graintsize clauses are specified, it is