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

            Bug ID: 91149
           Summary: GCC 9 and later incorrectly rejects OpenMP task
                    reduction-modifier on target parallel combined
                    construct
           Product: gcc
           Version: 9.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

int r;

void
foo (void)
{
  #pragma omp parallel reduction(task, +: r)
  r++;
  #pragma omp target parallel reduction(task, +: r)
  r++;
}

should be accepted, but we reject the second one due to a pasto.

Reply via email to