https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108749

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, I don't see how inscan be implemented on taskloop, so I'd say both
5.1 and 5.2 are wrong and it should be neither distribute nor taskloop are
constituent.
   #pragma omp target parallel for
   #pragma omp target parallel for simd
   #pragma omp target simd
should work fine, those just map(tofrom:) the reduction variable.

Reply via email to