[OpenACC privatization] Reject 'static', 'external' in blocks [PR90115]
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 21 May 2021 06:51:47 +0000 (08:51 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 21 May 2021 18:23:34 +0000 (20:23 +0200)
commit325aa13996bafce0c4927876c315d1fa706d9881
treecbbbb65dda09b3881b6af1b2f8b24becb683df03
parent11b8286a83289f5b54e813f14ff56d730c3f3185
[OpenACC privatization] Reject 'static', 'external' in blocks [PR90115]

gcc/
PR middle-end/90115
* omp-low.c (oacc_privatization_candidate_p): Reject 'static',
'external' in blocks.
gcc/testsuite/
PR middle-end/90115
* c-c++-common/goacc/privatization-1-compute-loop.c: Update.
* c-c++-common/goacc/privatization-1-compute.c: Likewise.
* c-c++-common/goacc/privatization-1-routine_gang-loop.c:
Likewise.
* c-c++-common/goacc/privatization-1-routine_gang.c: Likewise.
libgomp/
PR middle-end/90115
* testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: Update.
* testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise.
gcc/omp-low.c
gcc/testsuite/c-c++-common/goacc/privatization-1-compute-loop.c
gcc/testsuite/c-c++-common/goacc/privatization-1-compute.c
gcc/testsuite/c-c++-common/goacc/privatization-1-routine_gang-loop.c
gcc/testsuite/c-c++-common/goacc/privatization-1-routine_gang.c
libgomp/testsuite/libgomp.oacc-c-c++-common/static-variable-1.c
libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90