* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_DEFAULTMAP.
commit493437af4042af113fc23d2afb49becdadb7ecb8
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jul 2015 18:16:15 +0000 (6 18:16 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jul 2015 18:16:15 +0000 (6 18:16 +0000)
tree83a5df6042dcebc90d1546697984a12e6ce18f2a
parent85aa63af292a5f31d185f62f9b79cd01fcd3f0d9
* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_DEFAULTMAP.
* tree.c (omp_clause_num_ops, omp_clause_code_name): Add entries
for defaultmap clause.
(walk_tree_1): Handle OMP_CLAUSE_DEFAULTMAP.
* tree-nested.c (convert_nonlocal_omp_clauses,
convert_local_omp_clauses): Likewise.
* tree-pretty-print.c (dump_omp_clause): Likewise.
* gimplify.c (gimplify_scan_omp_clauses,
gimplify_adjust_omp_clauses): Likewise.
* omp-low.c (scan_sharing_clauses): Likewise.
c-family/
* c-pragma.h (enum pragma_omp_clause): Add
PRAGMA_OMP_CLAUSE_DEFAULTMAP.
c/
* c-parser.c (c_parser_omp_clause_name): Handle defaultmap clause.
(c_parser_omp_clause_defaultmap): New function.
(c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_DEFAULTMAP.
(OMP_TARGET_CLAUSE_MASK): Add private, firstprivate and defaultmap
clauses.
* c-typeck.c (c_finish_omp_clauses): Handle OMP_CLAUSE_DEFAULTMAP.
Track map, to and from clause decl uids separately from data sharing
clauses.
cp/
* parser.c (cp_parser_omp_clause_name): Handle defaultmap clause.
(cp_parser_omp_clause_defaultmap): New function.
(cp_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_DEFAULTMAP.
(OMP_TARGET_CLAUSE_MASK): Add private, firstprivate and defaultmap
clauses.
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_HINT and
OMP_CLAUSE_DEFAULTMAP.
* semantics.c (finish_omp_clauses): Handle OMP_CLAUSE_DEFAULTMAP.
Track map, to and from clause decl uids separately from data sharing
clauses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_1-branch@225472 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/ChangeLog.gomp
gcc/c-family/ChangeLog.gomp
gcc/c-family/c-pragma.h
gcc/c/ChangeLog.gomp
gcc/c/c-parser.c
gcc/c/c-typeck.c
gcc/cp/ChangeLog.gomp
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/gimplify.c
gcc/omp-low.c
gcc/tree-core.h
gcc/tree-nested.c
gcc/tree-pretty-print.c
gcc/tree.c