[Bug other/108749] [OpenMP][C/C++/Fortran] inscan reduction modifier rejected for combined/composite constructs of simd/for/do
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 10 10:18:58 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108749
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
We implement the 5.0 wording which was quite clear that only the selected
combined/composite constructs are allowed for it. The clause handling wording
was added without considering the former (it wasn't initially there I believe).
Next step would be implement the 5.2 wording, which would be support those also
on
#pragma omp masked taskloop simd
#pragma omp master taskloop simd
#pragma omp parallel masked taskloop simd
#pragma omp parallel master taskloop simd
#pragma omp target parallel for
#pragma omp target parallel for simd
#pragma omp target simd
#pragma omp taskloop simd
I guess we could even do it for GCC 13, it is a simple change.
More information about the Gcc-bugs
mailing list