On 08/16/2016 06:05 PM, Thomas Schwinge wrote: > commit bffb0ee6c0a83b8c85cd919e1172086b51fdc452 > Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> > Date: Wed Aug 17 00:55:02 2016 +0000 > > Repeated use of the C/C++ OpenACC routine directive > > gcc/ > * omp-low.c (verify_oacc_routine_clauses): Change formal > parameters. Add checking if already marked as an accelerator > routine. Adjust all users. > gcc/c/ > * c-parser.c (c_finish_oacc_routine): Rework checking if already > marked as an accelerator routine. > gcc/cp/ > * parser.c (cp_finalize_oacc_routine): Rework checking if already > marked as an accelerator routine. > gcc/testsuite/ > * c-c++-common/goacc/oaccdevlow-routine.c: Update.
This test case is missing in both gomp4 and the git diff --stat below. Cesar > * c-c++-common/goacc/routine-5.c: Likewise. > * c-c++-common/goacc/routine-level-of-parallelism-1.c: Likewise. > * c-c++-common/goacc/routine-level-of-parallelism-2.c: New file. > > gcc/testsuite/ > * c-c++-common/goacc/routine-1.c: Update. > * c-c++-common/goacc/routine-2.c: Likewise. > * c-c++-common/goacc/routine-nohost-1.c: Likewise. > * g++.dg/goacc/routine-2.C: Likewise. > * c-c++-common/goacc/routine-nohost-2.c: New file. > > git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@239521 > 138bc75d-0d04-0410-961f-82ee72b054a4 > --- > gcc/ChangeLog.gomp | 4 + > gcc/c/ChangeLog.gomp | 3 + > gcc/c/c-parser.c | 42 ++-- > gcc/cp/ChangeLog.gomp | 3 + > gcc/cp/parser.c | 51 +++-- > gcc/omp-low.c | 146 ++++++++++++- > gcc/omp-low.h | 2 +- > gcc/testsuite/ChangeLog.gomp | 11 + > gcc/testsuite/c-c++-common/goacc/routine-1.c | 51 ++++- > gcc/testsuite/c-c++-common/goacc/routine-2.c | 143 +++++++++++++ > gcc/testsuite/c-c++-common/goacc/routine-5.c | 46 +--- > .../goacc/routine-level-of-parallelism-1.c | 233 > ++++++++++++++++++--- > .../goacc/routine-level-of-parallelism-2.c | 73 +++++++ > .../c-c++-common/goacc/routine-nohost-1.c | 20 ++ > .../c-c++-common/goacc/routine-nohost-2.c | 97 +++++++++ > gcc/testsuite/g++.dg/goacc/routine-2.C | 9 + > 16 files changed, 816 insertions(+), 118 deletions(-)