In gomp-4_0-branch, we've tried to consolidate the parsing all of the
clauses of the form

  foo (int-expression)

into a single c*_parser_omp_positive_int_clause function. At the time,
such clauses included num_gangs, num_workers, vector_length and
num_threads. Looking at OpenMP 4.5, there are additional candidates for
this function, specifically num_tasks, grainsize, priority and hint.
With that in mind, parser support for all of the aforementioned clauses
is already present in trunk, so I'll revert these change in
gomp-4_0-branch since they add no functionality. We might revisit a
similar patch if OpenACC adds new clauses of this form in the future.

I've applied this patch to gomp-4_0-branch.

Cesar

Reply via email to