https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433
--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Author: tschwinge Date: Fri May 17 19:13:26 2019 New Revision: 271345 URL: https://gcc.gnu.org/viewcvs?rev=271345&root=gcc&view=rev Log: [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. Added: trunk/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/omp-general.c trunk/gcc/omp-general.h trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/goacc/routine-5.c trunk/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-1.c trunk/gcc/testsuite/gfortran.dg/goacc/routine-level-of-parallelism-1.f90