tree-nested.c (convert_nonlocal_omp_clauses, [...]): Handle OMP_CLAUSE_IN_REDUCTION...
authorJakub Jelinek <jakub@redhat.com>
Sun, 2 Dec 2018 12:50:50 +0000 (13:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 2 Dec 2018 12:50:50 +0000 (13:50 +0100)
commit4a82df9a389506e2a34aa22d9a751c2be834e238
tree534799a344b40cd1bc6a21703dc1c432caafadfb
parentdaa8c1d763c951d2242e1842be80b179f63ebad2
tree-nested.c (convert_nonlocal_omp_clauses, [...]): Handle OMP_CLAUSE_IN_REDUCTION...

* tree-nested.c (convert_nonlocal_omp_clauses,
convert_local_omp_clauses): Handle OMP_CLAUSE_IN_REDUCTION,
OMP_CLAUSE_TASK_REDUCTION and OMP_CLAUSE__SIMT_ clauses.
(convert_nonlocal_reference_stmt, convert_local_reference_stmt):
Convert clauses for GIMPLE_OMP_TASKGROUP.

* testsuite/libgomp.c/task-reduction-3.c: New test.

From-SVN: r266723
gcc/ChangeLog
gcc/tree-nested.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/task-reduction-3.c [new file with mode: 0644]