aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/array.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-04-20 12:38:50 +0200
committerTobias Burnus <tobias@codesourcery.com>2020-04-20 12:38:50 +0200
commit85d8c05a02bf7d1b256f806582a11e3fd8970a32 (patch)
treee3b1abde2ceea87ae8ceeba505583b6688daf86e /gcc/fortran/array.c
parent79b9d18ea1bfd1613c704350e317edfacde227e0 (diff)
downloadgcc-85d8c05a02bf7d1b256f806582a11e3fd8970a32.zip
gcc-85d8c05a02bf7d1b256f806582a11e3fd8970a32.tar.gz
gcc-85d8c05a02bf7d1b256f806582a11e3fd8970a32.tar.bz2
Fix declare copyout in libgomp.oacc-c++/declare-pr94120.C
Testing on the host does not make sense for 'declare copyout' for a same-scope stack-allocated variable. Once the copyout is done, the variable is gone. Hence, test the variable on the device. This can be revisit after the OpenACC semantic has been fixed; but with that fix, the test PASSes again with devices. PR middle-end/94120 * testsuite/libgomp.oacc-c++/declare-pr94120.C: Fix 'declare copy(out)' test case.
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions