diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2022-09-26 12:45:28 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2022-09-26 12:45:28 +0200 |
commit | d3df98807b58df186061ad52ff87cc09ba593e9b (patch) | |
tree | 074360d892578a63fd2a22546a43a09fdf67555d /libjava | |
parent | 2387cfc7f6e2065f5c040d62763f6f3a5997a444 (diff) | |
download | gcc-d3df98807b58df186061ad52ff87cc09ba593e9b.zip gcc-d3df98807b58df186061ad52ff87cc09ba593e9b.tar.gz gcc-d3df98807b58df186061ad52ff87cc09ba593e9b.tar.bz2 |
OpenACC: Fix reduction tree-sharing issue [PR106982]
The tree for var == incoming == outgound was
'MEM <double[5]> [(double *)&reduced]' which caused the ICE
"incorrect sharing of tree nodes".
PR middle-end/106982
gcc/ChangeLog:
* omp-low.cc (lower_oacc_reductions): Add some unshare_expr.
gcc/testsuite/ChangeLog:
* c-c++-common/goacc/reduction-7.c: New test.
* c-c++-common/goacc/reduction-8.c: New test.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions