2016-08-18 Chung-Lin Tang <cltang@codesourcery.com> PR middle-end/70895 gcc/ * gimplify.c (omp_add_variable): Adjust/add variable mapping on enclosing parallel construct for reduction variables on OpenACC loop directives. gcc/testsuite/ * gfortran.dg/goacc/loop-tree-1.f90: Add gimple scan-tree-dump test. * c-c++-common/goacc/reduction-1.c: Likewise. * c-c++-common/goacc/reduction-2.c: Likewise. * c-c++-common/goacc/reduction-3.c: Likewise. * c-c++-common/goacc/reduction-4.c: Likewise. libgomp/ * testsuite/libgomp.oacc-fortran/reduction-7.f90: Add explicit firstprivate clauses. * testsuite/libgomp.oacc-fortran/reduction-6.f90: Remove explicit copy clauses. * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-flt.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/reduction-dbl.c: Likewise. From-SVN: r239576
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abort-1.f90 | Loading commit data... | |
abort-2.f90 | Loading commit data... | |
acc_on_device-1-1.f90 | Loading commit data... | |
acc_on_device-1-2.f | Loading commit data... | |
acc_on_device-1-3.f | Loading commit data... | |
asyncwait-1.f90 | Loading commit data... | |
asyncwait-2.f90 | Loading commit data... | |
asyncwait-3.f90 | Loading commit data... | |
atomic_capture-1.f90 | Loading commit data... | |
atomic_rw-1.f90 | Loading commit data... | |
atomic_update-1.f90 | Loading commit data... | |
cache-1.f95 | Loading commit data... | |
clauses-1.f90 | Loading commit data... | |
collapse-1.f90 | Loading commit data... | |
collapse-2.f90 | Loading commit data... | |
collapse-3.f90 | Loading commit data... | |
collapse-4.f90 | Loading commit data... | |
collapse-5.f90 | Loading commit data... | |
collapse-6.f90 | Loading commit data... | |
collapse-7.f90 | Loading commit data... | |
collapse-8.f90 | Loading commit data... | |
combined-directives-1.f90 | Loading commit data... | |
combined-reduction.f90 | Loading commit data... | |
data-1.f90 | Loading commit data... | |
data-2.f90 | Loading commit data... | |
data-3.f90 | Loading commit data... | |
data-4-2.f90 | Loading commit data... | |
data-4.f90 | Loading commit data... | |
data-already-1.f | Loading commit data... | |
data-already-2.f | Loading commit data... | |
data-already-3.f | Loading commit data... | |
data-already-4.f | Loading commit data... | |
data-already-5.f | Loading commit data... | |
data-already-6.f | Loading commit data... | |
data-already-7.f | Loading commit data... | |
data-already-8.f | Loading commit data... | |
declare-1.f90 | Loading commit data... | |
declare-2.f90 | Loading commit data... | |
declare-3.f90 | Loading commit data... | |
declare-4.f90 | Loading commit data... | |
declare-5.f90 | Loading commit data... | |
default-1.f90 | Loading commit data... | |
firstprivate-1.f90 | Loading commit data... | |
fortran.exp | Loading commit data... | |
gang-static-1.f90 | Loading commit data... | |
host_data-1.f90 | Loading commit data... | |
if-1.f90 | Loading commit data... | |
implicit-firstprivate-ref.f90 | Loading commit data... | |
kernels-loop-2.f95 | Loading commit data... | |
kernels-loop-data-2.f95 | Loading commit data... | |
kernels-loop-data-enter-exit-2.f95 | Loading commit data... | |
kernels-loop-data-enter-exit.f95 | Loading commit data... | |
kernels-loop-data-update.f95 | Loading commit data... | |
kernels-loop-data.f95 | Loading commit data... | |
kernels-loop.f95 | Loading commit data... | |
lib-1.f90 | Loading commit data... | |
lib-10.f90 | Loading commit data... | |
lib-2.f | Loading commit data... | |
lib-3.f | Loading commit data... | |
lib-4.f90 | Loading commit data... | |
lib-5.f90 | Loading commit data... | |
lib-6.f90 | Loading commit data... | |
lib-7.f90 | Loading commit data... | |
lib-8.f90 | Loading commit data... | |
map-1.f90 | Loading commit data... | |
nested-function-1.f90 | Loading commit data... | |
nested-function-2.f90 | Loading commit data... | |
nested-function-3.f90 | Loading commit data... | |
non-scalar-data.f90 | Loading commit data... | |
openacc_version-1.f | Loading commit data... | |
openacc_version-2.f90 | Loading commit data... | |
parallel-reduction.f90 | Loading commit data... | |
pointer-align-1.f90 | Loading commit data... | |
pr68813.f90 | Loading commit data... | |
pr70289.f90 | Loading commit data... | |
pr70643.f90 | Loading commit data... | |
private-variables.f90 | Loading commit data... | |
pset-1.f90 | Loading commit data... | |
reduction-1.f90 | Loading commit data... | |
reduction-2.f90 | Loading commit data... | |
reduction-3.f90 | Loading commit data... | |
reduction-4.f90 | Loading commit data... | |
reduction-5.f90 | Loading commit data... | |
reduction-6.f90 | Loading commit data... | |
reduction-7.f90 | Loading commit data... | |
reduction-8.f90 | Loading commit data... | |
routine-1.f90 | Loading commit data... | |
routine-2.f90 | Loading commit data... | |
routine-3.f90 | Loading commit data... | |
routine-4.f90 | Loading commit data... | |
routine-5.f90 | Loading commit data... | |
routine-7.f90 | Loading commit data... | |
routine-9.f90 | Loading commit data... | |
subarrays-1.f90 | Loading commit data... | |
subarrays-2.f90 | Loading commit data... | |
update-1.f90 | Loading commit data... |