aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2020-06-09 15:53:39 -0700
committerJulian Brown <julian@codesourcery.com>2020-07-16 14:12:53 -0700
commit39dda0020801045d9a604575b2a2593c05310015 (patch)
tree32b809bf7d91a985754ef7bc0e33e8c92bff749c /gcc/combine.c
parent0f66b8486cea8668020e4bd48f261b760cb579be (diff)
downloadgcc-39dda0020801045d9a604575b2a2593c05310015.zip
gcc-39dda0020801045d9a604575b2a2593c05310015.tar.gz
gcc-39dda0020801045d9a604575b2a2593c05310015.tar.bz2
openacc: Fix standalone attach for Fortran assumed-shape array pointers
This patch makes it so that an "attach" operation for a Fortran pointer with an array descriptor copies that array descriptor to the target, and similarly that detach operations release the array descriptor. 2020-07-16 Julian Brown <julian@codesourcery.com> Thomas Schwinge <thomas@codesourcery.com> gcc/fortran/ * trans-openmp.c (gfc_trans_omp_clauses): Rework OpenACC attach/detach handling for arrays with descriptors. gcc/testsuite/ * gfortran.dg/goacc/attach-descriptor.f90: New test. libgomp/ * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: New test. * testsuite/libgomp.oacc-fortran/attach-descriptor-2.f90: New test. Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions