r239521 - in /branches/gomp-4_0-branch/gcc: Cha...
tschwinge@gcc.gnu.org
tschwinge@gcc.gnu.org
Wed Aug 17 00:55:00 GMT 2016
Author: tschwinge
Date: Wed Aug 17 00:55:02 2016
New Revision: 239521
URL: https://gcc.gnu.org/viewcvs?rev=239521&root=gcc&view=rev
Log:
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.
* 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.
Added:
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-2.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-nohost-2.c
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/c/c-parser.c
branches/gomp-4_0-branch/gcc/cp/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/cp/parser.c
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/omp-low.h
branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-1.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-2.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-5.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-level-of-parallelism-1.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-nohost-1.c
branches/gomp-4_0-branch/gcc/testsuite/g++.dg/goacc/routine-2.C
More information about the Gcc-cvs
mailing list