[OpenACC] Enable inconsistent nested 'reduction' clauses checking for OpenACC 'kernels'
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 22 Oct 2020 09:04:22 +0000 (11:04 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Nov 2020 08:35:33 +0000 (09:35 +0100)
commit64dc14b1a764bd3059170431c9b43c6192dbd48f
tree2aa43ca4750250953ed7a6a7ea370854c173409a
parentfedf3e94efe774b8c0539d344130a7b25f50a881
[OpenACC] Enable inconsistent nested 'reduction' clauses checking for OpenACC 'kernels'

gcc/
* omp-low.c (scan_omp_for) <OpenACC>: Move earlier inconsistent
nested 'reduction' clauses checking.
gcc/testsuite/
* c-c++-common/goacc/nested-reductions-1-kernels.c: Extend.
* c-c++-common/goacc/nested-reductions-2-kernels.c: Likewise.
* gfortran.dg/goacc/nested-reductions-1-kernels.f90: Likewise.
* gfortran.dg/goacc/nested-reductions-2-kernels.f90: Likewise.
gcc/omp-low.c
gcc/testsuite/c-c++-common/goacc/nested-reductions-1-kernels.c
gcc/testsuite/c-c++-common/goacc/nested-reductions-2-kernels.c
gcc/testsuite/gfortran.dg/goacc/nested-reductions-1-kernels.f90
gcc/testsuite/gfortran.dg/goacc/nested-reductions-2-kernels.f90