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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |
             Status|ASSIGNED                    |NEW
           Assignee|tschwinge at gcc dot gnu.org       |unassigned at gcc dot 
gnu.org

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Fixed OpenACC clauses handling on trunk in r237291, gcc-6-branch in r237296,
and gomp-4_0-branch in r237300.


>From a quick look it appears as if the following OpenMP-specific clauses also
are not being handled:

  * OMP_CLAUSE_UNIFORM
  * OMP_CLAUSE__LOOPTEMP_
  * OMP_CLAUSE_INBRANCH
  * OMP_CLAUSE_NOTINBRANCH
  * OMP_CLAUSE_FOR
  * OMP_CLAUSE_PARALLEL
  * OMP_CLAUSE_SECTIONS
  * OMP_CLAUSE_TASKGROUP
  * OMP_CLAUSE__SIMDUID_
  * OMP_CLAUSE__GRIDDIM_

If these are in fact unreachable in gcc/tree-nested.c, I suggest to document
that with `gcc_unreachable` `case`s, and otherwise specific handling needs to
be implemented -- which I would just have done, but for some clauses, given my
limited OpenMP knowledge, I couldn't easily tell how these need to be handled,
or couldn't easily come up with valid test cases.  (Thus un-assigning myself.)

Reply via email to