[Bug middle-end/106715] [OpenMP][5.2] Permit 'order' clause with 'for simd'/'do simd'
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 22 17:42:18 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106715
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[OpenMP][5.2] Permit |[OpenMP][5.2] Permit
|'order' clause with 'for |'order' clause with 'for
|simd'/'do simd' + improve |simd'/'do simd'
|error message |
Keywords|diagnostic |
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> It is not just internally, it is what the standard says.
> So, ordered is closely nested in simd, but not closely nested in
> worksharing-loop.
OK - let's strike that part. (I have to admit that I do not really understand
the fine print of "composite constructs" - contrary to combined constructs.)
Nonetheless, the following C/C++ issue remains for this PR:
#pragma omp for simd ordered(1)
is now in OpenMP 5.2 permitted, but currently reject.
[And likewise: 'doaccross' as synonym of 'depend' w/ sink/source.]
More information about the Gcc-bugs
mailing list