r217146 - in /branches/gomp-4_0-branch/gcc: Cha...
tschwinge@gcc.gnu.org
tschwinge@gcc.gnu.org
Wed Nov 5 16:35:00 GMT 2014
Author: tschwinge
Date: Wed Nov 5 16:35:30 2014
New Revision: 217146
URL: https://gcc.gnu.org/viewcvs?rev=217146&root=gcc&view=rev
Log:
OpenACC cache directive maintenance.
gcc/c/
* c-parser.c (c_parser_oacc_cache): Generate OACC_CACHE.
* c-typeck.c (c_finish_omp_clauses): Handle OMP_CLAUSE__CACHE_.
gcc/cp/
* parser.c (cp_parser_oacc_cache): Generate OACC_CACHE.
* semantics.c (finish_omp_clauses): Handle OMP_CLAUSE__CACHE_.
gcc/
* gimplify.c (gimplify_oacc_cache): New function.
(gimplify_expr): Use it for OACC_CACHE.
(gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
OMP_CLAUSE__CACHE_.
gcc/c/
* c-parser.c (c_parser_omp_variable_list) <OMP_CLAUSE__CACHE_>:
Remove explicit mark_exp_read invocations.
gcc/cp/
* parser.c (cp_parser_omp_var_list_no_open) <OMP_CLAUSE__CACHE_>:
Remove explicit mark_exp_read invocations.
gcc/
* tree-core.h (enum omp_clause_code): Move OMP_NO_CLAUSE_CACHE
next to, and handle it like a data clause. Rename it to
OMP_CLAUSE__CACHE_. Update all users.
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/c/c-typeck.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/cp/semantics.c
branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
branches/gomp-4_0-branch/gcc/gimplify.c
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/tree-core.h
branches/gomp-4_0-branch/gcc/tree-pretty-print.c
branches/gomp-4_0-branch/gcc/tree.c
branches/gomp-4_0-branch/gcc/tree.def
branches/gomp-4_0-branch/gcc/tree.h
More information about the Gcc-cvs
mailing list