aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-expr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-05-25 11:07:01 +0200
committerJakub Jelinek <jakub@redhat.com>2021-05-25 11:07:01 +0200
commit3a81735c1c8cea4323dcb912b7a8879b54aa3bc0 (patch)
treeccc0b37c2911dbc11dde0df1f06666332e66eee2 /gcc/gimple-expr.c
parent9aecba04f4da35bd2bc7c2de76892e88cc7421ac (diff)
downloadgcc-3a81735c1c8cea4323dcb912b7a8879b54aa3bc0.zip
gcc-3a81735c1c8cea4323dcb912b7a8879b54aa3bc0.tar.gz
gcc-3a81735c1c8cea4323dcb912b7a8879b54aa3bc0.tar.bz2
openmp: Fix reduction clause handling on teams distribute simd [PR99928]
When a directive isn't combined with worksharing-loop, it takes much simpler clause splitting path for reduction, and that one was missing handling of teams when combined with simd. 2021-05-25 Jakub Jelinek <jakub@redhat.com> PR middle-end/99928 gcc/c-family/ * c-omp.c (c_omp_split_clauses): Copy reduction to teams when teams is combined with simd and not with taskloop or for. gcc/testsuite/ * c-c++-common/gomp/pr99928-8.c: Remove xfails from omp teams r21 and r28 checks. * c-c++-common/gomp/pr99928-9.c: Likewise. * c-c++-common/gomp/pr99928-10.c: Likewise. libgomp/ * testsuite/libgomp.c-c++-common/reduction-17.c: New test.
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions