Extend test suite coverage for OpenACC 'self' clause for compute constructs
commit047841a68ebf5f991e842961f9e54f3c10b94f2c
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 23 Oct 2023 12:53:29 +0000 (23 14:53 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 25 Oct 2023 09:24:29 +0000 (25 11:24 +0200)
tree926b328223b6414036d0d216d7563d18bc73a458
parenta5e919027fdb1900a6f2d64f763c99dbaf98aee6
Extend test suite coverage for OpenACC 'self' clause for compute constructs

... on top of what was provided in recent
commit 3a3596389c2e539cb8fd5dc5784a4e2afe193a2a
"OpenACC 2.7: Implement self clause for compute constructs".

gcc/testsuite/
* c-c++-common/goacc/if-clause-2.c: Enhance.
* c-c++-common/goacc/self-clause-1.c: Likewise.
* c-c++-common/goacc/self-clause-2.c: Likewise.
* gfortran.dg/goacc/if.f95: Likewise.
* gfortran.dg/goacc/kernels-tree.f95: Likewise.
* gfortran.dg/goacc/parallel-tree.f95: Likewise.
* gfortran.dg/goacc/self.f95: Likewise.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/if-1.c: Enhance.
* testsuite/libgomp.oacc-c-c++-common/self-1.c: Likewise.
* testsuite/libgomp.oacc-fortran/if-1.f90: Likewise.
* testsuite/libgomp.oacc-c-c++-common/if-self-1.c: New.
* testsuite/libgomp.oacc-fortran/self-1.f90: Likewise.
12 files changed:
gcc/testsuite/c-c++-common/goacc/if-clause-2.c
gcc/testsuite/c-c++-common/goacc/self-clause-1.c
gcc/testsuite/c-c++-common/goacc/self-clause-2.c
gcc/testsuite/gfortran.dg/goacc/if.f95
gcc/testsuite/gfortran.dg/goacc/kernels-tree.f95
gcc/testsuite/gfortran.dg/goacc/parallel-tree.f95
gcc/testsuite/gfortran.dg/goacc/self.f95
libgomp/testsuite/libgomp.oacc-c-c++-common/if-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/if-self-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/self-1.c
libgomp/testsuite/libgomp.oacc-fortran/if-1.f90
libgomp/testsuite/libgomp.oacc-fortran/self-1.f90 [copied from libgomp/testsuite/libgomp.oacc-fortran/if-1.f90 with 93% similarity]