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.]

Reply via email to