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

            Bug ID: 71349
           Summary: Combined async target clause parsing issues
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

void foo (int *dd)
{
  int i;
#pragma omp target teams depend parallel for nowait depend(inout: dd[0])
  for (i = 0; i < 64; i++)
    ;
}
should be accepted, but is not right now.  This is a problem for both C and
C++.
Additionally, for C++ we have also parsing issue with
void bar (int *dd)
{
#pragma omp target parallel nowait depend(inout: dd[0])
  ;
}

Reply via email to