On Thu, Jun 02, 2016 at 06:20:57PM +0200, Thomas Schwinge wrote: > relevant. Nested function decomposition is not applicable to C++, so we > don't need any C++ test cases, right?
C++ has lambdas, but those are already lowered in the FE, so yes, from the OpenMP/OpenACC FEs, tree-nested.c is only used by C and Fortran. > [PR middle-end/71373] Handle more OMP_CLAUSE_* in nested function > decomposition > > gcc/ > * gimplify.c (gimplify_adjust_omp_clauses): Discard > OMP_CLAUSE_TILE. > * omp-low.c (scan_sharing_clauses): Don't expect OMP_CLAUSE_TILE. > gcc/testsuite/ > * c-c++-common/goacc/combined-directives.c: XFAIL tree scanning > for OpenACC tile clauses. > * gfortran.dg/goacc/combined-directives.f90: Likewise. > > gcc/ > PR middle-end/71373 > * tree-nested.c (convert_nonlocal_omp_clauses) > (convert_local_omp_clauses): Handle OMP_CLAUSE_ASYNC, > OMP_CLAUSE_WAIT, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO, > OMP_CLAUSE__CACHE_, OMP_CLAUSE_TILE. > gcc/testsuite/ > PR middle-end/71373 > * gcc.dg/goacc/nested.c: New file. > * gcc.dg/goacc/pr71373.c: Likewise. > * gfortran.dg/goacc/subroutines.f90: Update. LGTM. Jakub