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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
!$omp task detach (x)
      !$omp end task

This seems to be valid. OpenMP mostly only rejects coindexed variables like:

"Fortran
A variable list item is one of the following:
• a variable that is not coindexed and that is not a substring"

"If more than one image is executing the program, any image control statement,
ERROR STOP statement, FAIL IMAGE statement, collective subroutine call or
access to a coindexed object that appears in an explicit OpenMP region will
result in unspecified behavior."

Reply via email to