]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR89433] Repeated use of the C/C++ OpenACC 'routine' directive
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2019 19:13:26 +0000 (19:13 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 May 2019 19:13:26 +0000 (19:13 +0000)
commit33dacef99912c0fb7aa832fb241ac32f7130a1e8
treef549ea742dbc826500b30235525ef9fb96769ad4
parent5f7ea2eebbef8715d22695470221dff57fe45c42
[PR89433] Repeated use of the C/C++ OpenACC 'routine' directive

gcc/
PR middle-end/89433
* omp-general.c (oacc_verify_routine_clauses): Change formal
parameters.  Add checking if already marked with an OpenACC
'routine' directive.  Adjust all users.
gcc/c/
PR c/89433
* c-parser.c (c_finish_oacc_routine): Rework checking if already
marked with an OpenACC 'routine' directive.
gcc/cp/
PR c++/89433
* parser.c (cp_finalize_oacc_routine): Rework checking if already
marked with an OpenACC 'routine' directive.
gcc/testsuite/
PR testsuite/89433
* c-c++-common/goacc/routine-5.c: Update.
* c-c++-common/goacc/routine-level-of-parallelism-1.c: Likewise.
* c-c++-common/goacc/routine-level-of-parallelism-2.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271345 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/omp-general.c
gcc/omp-general.h
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/routine-5.c
gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-1.c
gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/routine-level-of-parallelism-1.f90