]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree.h (OMP_CLAUSE_REDUCTION_TASK, [...]): Define.
authorJakub Jelinek <jakub@redhat.com>
Wed, 1 Aug 2018 14:09:08 +0000 (16:09 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 1 Aug 2018 14:09:08 +0000 (16:09 +0200)
commit344e1330900eaeb6a03347d69ea587eac5ab4bab
treeea78b18cca936c9ef87fb860ee7d11ae31912a58
parentb9eb83516f43c5df77bdad7de9acc6d0e135020a
tree.h (OMP_CLAUSE_REDUCTION_TASK, [...]): Define.

* tree.h (OMP_CLAUSE_REDUCTION_TASK, OMP_CLAUSE_REDUCTION_INSCAN):
Define.
* tree-pretty-print.c (dump_omp_clause): Print reduction modifiers.
* gimplify.c (gimplify_scan_omp_clauses): Handle
OMP_CLAUSE_REDUCTION_TASK diagnostics.
gcc/c-family/
* c-omp.c (c_omp_split_clauses): Handle OMP_CLAUSE_REDUCTION_TASK.
gcc/c/
* c-parser.c (c_parser_omp_clause_reduction): Add IS_OMP argument,
parse reduction modifiers.
(c_parser_oacc_all_clauses, c_parser_omp_all_clauses): Adjust
c_parser_omp_clause_reduction callers.
gcc/cp/
* parser.c (cp_parser_omp_clause_reduction): Add IS_OMP argument,
parse reduction modifiers.
(cp_parser_oacc_all_clauses, cp_parser_omp_all_clauses): Adjust
cp_parser_omp_clause_reduction callers.
gcc/testsuite/
* c-c++-common/gomp/reduction-task-1.c: New test.
* c-c++-common/gomp/reduction-task-2.c: New test.

From-SVN: r263211
13 files changed:
gcc/ChangeLog.gomp
gcc/c-family/ChangeLog.gomp
gcc/c-family/c-omp.c
gcc/c/ChangeLog.gomp
gcc/c/c-parser.c
gcc/cp/ChangeLog.gomp
gcc/cp/parser.c
gcc/gimplify.c
gcc/testsuite/ChangeLog.gomp
gcc/testsuite/c-c++-common/gomp/reduction-task-1.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/gomp/reduction-task-2.c [new file with mode: 0644]
gcc/tree-pretty-print.c
gcc/tree.h