]> git.ipfire.org Git - thirdparty/gcc.git/commit
Enable firstprivate OpenACC reductions
authorJulian Brown <julian@codesourcery.com>
Tue, 26 Feb 2019 23:59:03 +0000 (15:59 -0800)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:12 +0000 (14:11 +0100)
commitedb11b53205b08921bb692af29cd11efe7fe08c6
tree17612998ae8ffafae2e37f05ba3cde31f09edcc5
parent008f2396ebb9ce2ac2b10266cbba2ddef7cf44ac
Enable firstprivate OpenACC reductions

2018-09-05  Cesar Philippidis  <cesar@codesourcery.com>
    Chung-Lin Tang  <cltang@codesourcery.com>

gcc/
* gimplify.cc (omp_add_variable): Enable firstprivate reduction
variables.

gcc/testsuite/
* c-c++-common/goacc/reduction-8.c: New test.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/privatize-reduction-1.c: New
test.
* testsuite/libgomp.oacc-c-c++-common/privatize-reduction-2.c: New
test.
gcc/ChangeLog.omp
gcc/gimplify.cc
gcc/testsuite/ChangeLog.omp
gcc/testsuite/c-c++-common/goacc/reduction-8.c [new file with mode: 0644]
libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-c-c++-common/privatize-reduction-1.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/privatize-reduction-2.c [new file with mode: 0644]