This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/71373] Handle more OMP_CLAUSE_* in nested function decomposition


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
OMP_CLAUSE_UNIFORM
OMP_CLAUSE_INBRANCH
OMP_CLAUSE_NOTINBRANCH

The above 3 clauses are only allowed in the declare simd directive, so nothing
tree-nested.c sees.

OMP_CLAUSE__LOOPTEMP_
OMP_CLAUSE__SIMDUID_

These clauses are only added during omp lowering, tree-nested happens before
that.

OMP_CLAUSE_FOR
OMP_CLAUSE_PARALLEL
OMP_CLAUSE_SECTIONS
OMP_CLAUSE_TASKGROUP

These clauses are only allowed on cancel and cancellation point directives,
which are at this point already lowered into a function call with numerical
value.

There is gcc_unreachable, IMHO no need to list them explicitly and doing the
same thing as the default, I'm afraid gcc is unable to optimize that.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]