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 |
|---|---|---|
| .. | ||
| Wparentheses-1.c | Loading commit data... | |
| asyncwait-1.c | Loading commit data... | |
| cache-1.c | Loading commit data... | |
| cache-2.c | Loading commit data... | |
| clauses-fail.c | Loading commit data... | |
| collapse-1.c | Loading commit data... | |
| combined-directives-2.c | Loading commit data... | |
| combined-directives.c | Loading commit data... | |
| combined-reduction.c | Loading commit data... | |
| data-1.c | Loading commit data... | |
| data-2.c | Loading commit data... | |
| data-clause-duplicate-1.c | Loading commit data... | |
| data-default-1.c | Loading commit data... | |
| declare-1.c | Loading commit data... | |
| declare-2.c | Loading commit data... | |
| deviceptr-1.c | Loading commit data... | |
| deviceptr-2.c | Loading commit data... | |
| deviceptr-3.c | Loading commit data... | |
| host_data-1.c | Loading commit data... | |
| host_data-2.c | Loading commit data... | |
| if-clause-1.c | Loading commit data... | |
| if-clause-2.c | Loading commit data... | |
| kernels-1.c | Loading commit data... | |
| kernels-alias-2.c | Loading commit data... | |
| kernels-alias-3.c | Loading commit data... | |
| kernels-alias-4.c | Loading commit data... | |
| kernels-alias-5.c | Loading commit data... | |
| kernels-alias-6.c | Loading commit data... | |
| kernels-alias-7.c | Loading commit data... | |
| kernels-alias-8.c | Loading commit data... | |
| kernels-alias-ipa-pta-2.c | Loading commit data... | |
| kernels-alias-ipa-pta-3.c | Loading commit data... | |
| kernels-alias-ipa-pta-4.c | Loading commit data... | |
| kernels-alias-ipa-pta.c | Loading commit data... | |
| kernels-alias.c | Loading commit data... | |
| kernels-counter-vars-function-scope.c | Loading commit data... | |
| kernels-default-2.c | Loading commit data... | |
| kernels-default.c | Loading commit data... | |
| kernels-double-reduction-n.c | Loading commit data... | |
| kernels-double-reduction.c | Loading commit data... | |
| kernels-loop-2.c | Loading commit data... | |
| kernels-loop-3.c | Loading commit data... | |
| kernels-loop-g.c | Loading commit data... | |
| kernels-loop-mod-not-zero.c | Loading commit data... | |
| kernels-loop-n.c | Loading commit data... | |
| kernels-loop-nest.c | Loading commit data... | |
| kernels-loop.c | Loading commit data... | |
| kernels-one-counter-var.c | Loading commit data... | |
| kernels-reduction.c | Loading commit data... | |
| loop-1.c | Loading commit data... | |
| loop-2-kernels.c | Loading commit data... | |
| loop-2-parallel.c | Loading commit data... | |
| loop-3.c | Loading commit data... | |
| loop-auto-1.c | Loading commit data... | |
| loop-clauses.c | Loading commit data... | |
| loop-private-1.c | Loading commit data... | |
| loop-shape.c | Loading commit data... | |
| nesting-1.c | Loading commit data... | |
| nesting-data-1.c | Loading commit data... | |
| nesting-fail-1.c | Loading commit data... | |
| parallel-1.c | Loading commit data... | |
| pcopy.c | Loading commit data... | |
| pcopyin.c | Loading commit data... | |
| pcopyout.c | Loading commit data... | |
| pcreate.c | Loading commit data... | |
| pr69916.c | Loading commit data... | |
| pr70688.c | Loading commit data... | |
| pragma_context.c | Loading commit data... | |
| present-1.c | Loading commit data... | |
| reduction-1.c | Loading commit data... | |
| reduction-2.c | Loading commit data... | |
| reduction-3.c | Loading commit data... | |
| reduction-4.c | Loading commit data... | |
| reduction-5.c | Loading commit data... | |
| reduction-6.c | Loading commit data... | |
| reduction-promotions.c | Loading commit data... | |
| routine-1.c | Loading commit data... | |
| routine-2.c | Loading commit data... | |
| routine-3.c | Loading commit data... | |
| routine-4.c | Loading commit data... | |
| routine-5.c | Loading commit data... | |
| sb-1.c | Loading commit data... | |
| sb-2.c | Loading commit data... | |
| sb-3.c | Loading commit data... | |
| tile.c | Loading commit data... | |
| uninit-copy-clause.c | Loading commit data... | |
| uninit-dim-clause.c | Loading commit data... | |
| uninit-firstprivate-clause.c | Loading commit data... | |
| uninit-if-clause.c | Loading commit data... | |
| uninit-use-device-clause.c | Loading commit data... | |
| update-1.c | Loading commit data... |