diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-04-20 12:38:50 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-04-20 12:38:50 +0200 |
commit | 85d8c05a02bf7d1b256f806582a11e3fd8970a32 (patch) | |
tree | e3b1abde2ceea87ae8ceeba505583b6688daf86e /gcc/fortran/array.c | |
parent | 79b9d18ea1bfd1613c704350e317edfacde227e0 (diff) | |
download | gcc-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