[2/2] OpenACC: Make deep-copy-arrayofstruct.c a libgomp/runtime test
Commit Message
I noticed that the test in question now compiles properly, and in fact
runs properly too. Thus it's more useful as a runtime test than a
passing compilation test that otherwise doesn't do much. This patch
moves it to libgomp.
Tested with offloading to NVPTX and bootstrapped. (I can probably
self-approve as a testsuite-only change, but the patch depends on
previously-posted series).
Julian
2021-10-11 Julian Brown <julian@codesourcery.com>
gcc/testsuite/
* libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c: Move test from
here.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c: Move
test to here.
---
.../libgomp.oacc-c-c++-common}/deep-copy-arrayofstruct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename {gcc/testsuite/c-c++-common/goacc => libgomp/testsuite/libgomp.oacc-c-c++-common}/deep-copy-arrayofstruct.c (98%)
similarity index 98%
rename from gcc/testsuite/c-c++-common/goacc/deep-copy-arrayofstruct.c
rename to libgomp/testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do run } */
#include <stdlib.h>
#include <stdio.h>