This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/71373] Handle more OMP_CLAUSE_* in nested function decomposition
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jun 2016 13:46:56 +0000
- Subject: [Bug middle-end/71373] Handle more OMP_CLAUSE_* in nested function decomposition
- Auto-submitted: auto-generated
- References: <bug-71373-4 at http dot gcc dot gnu dot org/bugzilla/>
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.