Attach an attribute to all outlined OpenACC compute regions
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 28 Oct 2020 10:43:49 +0000 (11:43 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Fri, 13 Nov 2020 21:58:57 +0000 (22:58 +0100)
commit703e4f86496214e4915db898397fcd0ae1d955e0
tree58559da48f84a9a4328c83efd091b98c251c6da3
parentd1ba078d9bcc3457d36ba12695cfef29eb3ca942
Attach an attribute to all outlined OpenACC compute regions

This allows for making some things more explicit, later on.

gcc/
* omp-expand.c (expand_omp_target): Attach an attribute to all
outlined OpenACC compute regions.
* omp-offload.c (execute_oacc_device_lower): Adjust.
gcc/testsuite/
* c-c++-common/goacc/classify-parallel.c: Adjust.
* gfortran.dg/goacc/classify-parallel.f95: Likewise.
* c-c++-common/goacc/classify-serial.c: New.
* gfortran.dg/goacc/classify-serial.f95: Likewise.
gcc/omp-expand.c
gcc/omp-offload.c
gcc/testsuite/c-c++-common/goacc/classify-parallel.c
gcc/testsuite/c-c++-common/goacc/classify-serial.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/classify-parallel.f95
gcc/testsuite/gfortran.dg/goacc/classify-serial.f95 [new file with mode: 0644]