re PR c/91149 (GCC 9 and later incorrectly rejects OpenMP task reduction-modifier...
authorJakub Jelinek <jakub@redhat.com>
Sat, 13 Jul 2019 06:29:46 +0000 (08:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 13 Jul 2019 06:29:46 +0000 (08:29 +0200)
commit1a888209de88d4a4a1f415beb28e5a94b95e088f
tree7bd031afd9f9794d45465048da220b4ede473266
parent704686049d5eb2d54fe62585d2c17c5ef00dbb83
re PR c/91149 (GCC 9 and later incorrectly rejects OpenMP task reduction-modifier on target parallel combined construct)

PR c/91149
* c-omp.c (c_omp_split_clauses): Fix a pasto in
OMP_CLAUSE_REDUCTION_TASK handling.

* c-c++-common/gomp/reduction-task-3.c: New test.

From-SVN: r273465
gcc/c-family/ChangeLog
gcc/c-family/c-omp.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/reduction-task-3.c [new file with mode: 0644]