r207178 - in /branches/gomp-4_0-branch: gcc/c/C...

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Tue Jan 28 09:40:00 GMT 2014


Author: tschwinge
Date: Tue Jan 28 09:40:27 2014
New Revision: 207178

URL: http://gcc.gnu.org/viewcvs?rev=207178&root=gcc&view=rev
Log:
Enable initial support in the C front end for OpenACC data clauses.

	gcc/c/
	* c-parser.c (OACC_PARALLEL_CLAUSE_MASK): Add
	PRAGMA_OMP_CLAUSE_COPY, PRAGMA_OMP_CLAUSE_COPYIN,
	PRAGMA_OMP_CLAUSE_COPYOUT, PRAGMA_OMP_CLAUSE_CREATE,
	PRAGMA_OMP_CLAUSE_DEVICEPTR, PRAGMA_OMP_CLAUSE_PRESENT,
	PRAGMA_OMP_CLAUSE_PRESENT_OR_COPY,
	PRAGMA_OMP_CLAUSE_PRESENT_OR_COPYIN,
	PRAGMA_OMP_CLAUSE_PRESENT_OR_COPYOUT, and
	PRAGMA_OMP_CLAUSE_PRESENT_OR_CREATE.
	gcc/testsuite/
	* c-c++-common/goacc/data-clause-duplicate-1.c: New file.
	* c-c++-common/goacc/deviceptr-1.c: New file.
	libgomp/
	* testsuite/libgomp.oacc-c/parallel-1.c: Extend.

Added:
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/data-clause-duplicate-1.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/deviceptr-1.c
Modified:
    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/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c/parallel-1.c



More information about the Gcc-cvs mailing list