]> git.ipfire.org Git - thirdparty/gcc.git/commit
Interaction of dynamic/multidimensional arrays with attach/detach.
authorJulian Brown <julian@codesourcery.com>
Tue, 5 Feb 2019 21:43:21 +0000 (13:43 -0800)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:12:53 +0000 (12:12 +0100)
commitba3ba16fa3decf4d826be73eb40ffe3195a4a8fd
tree7660629bd16117e1bf007faded8b2527200ee04e
parentc42632498cc6a3aeb0cbb4375ede777b0bcc1d38
Interaction of dynamic/multidimensional arrays with attach/detach.

gcc/
* omp-low.c (scan_sharing_clauses): Disallow dynamic (multidimensional)
arrays within structs.

gcc/testsuite/
* c-c++-common/goacc/deep-copy-multidim.c: Add test.

(cherry picked from openacc-gcc-9-branch commit
857f3bc94d843467db9857b82512a1a5a470b1ef)
gcc/ChangeLog.omp
gcc/omp-low.c
gcc/testsuite/ChangeLog.omp
gcc/testsuite/c-c++-common/goacc/deep-copy-multidim.c [new file with mode: 0644]