This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r217145 - in /branches/gomp-4_0-branch: gcc/c-f...


Author: tschwinge
Date: Wed Nov  5 16:26:47 2014
New Revision: 217145

URL: https://gcc.gnu.org/viewcvs?rev=217145&root=gcc&view=rev
Log:
OpenACC cache directive for C.

	gcc/c-family/
	* c-pragma.c (oacc_pragmas): Add "cache".
	gcc/c/
	* c-parser.c (c_parser_omp_variable_list): Handle
	OMP_NO_CLAUSE_CACHE.
	(c_parser_oacc_cache): New function.
	(c_parser_omp_construct): Use it for PRAGMA_OACC_CACHE.
	libgomp/
	* testsuite/libgomp.oacc-c/cache-1.c: New file.
	* testsuite/libgomp.oacc-c++/cache-1.C: Likewise.

Added:
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c++/cache-1.C
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c/cache-1.c
Modified:
    branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/c-pragma.c
    branches/gomp-4_0-branch/gcc/c/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c/c-parser.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]