aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2021-06-26 00:42:58 +0800
committerChung-Lin Tang <cltang@codesourcery.com>2021-06-26 00:46:11 +0800
commite0672017370b9a9362fda52ecffe33d1c9c41829 (patch)
tree225641215151644b20c48e10443067d860bd5f53
parent74ebd1297e9cfa9f7d05bfcac5510d4968cc6ba8 (diff)
downloadgcc-e0672017370b9a9362fda52ecffe33d1c9c41829.zip
gcc-e0672017370b9a9362fda52ecffe33d1c9c41829.tar.gz
gcc-e0672017370b9a9362fda52ecffe33d1c9c41829.tar.bz2
testsuite/101114: Adjust libgomp.c-c++-common/struct-elem-5.c testcase
The dg-shouldfail testcase libgomp.c-c++-common/struct-elem-5.c does not properly fail for non-shared address space offloading. Adjust testcase to limit testing only for "target offload_device_nonshared_as". libgomp/ChangeLog: PR testsuite/101114 * testsuite/libgomp.c-c++-common/struct-elem-5.c: Add "target offload_device_nonshared_as" condition for enabling test.
-rw-r--r--libgomp/testsuite/libgomp.c-c++-common/struct-elem-5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.c-c++-common/struct-elem-5.c b/libgomp/testsuite/libgomp.c-c++-common/struct-elem-5.c
index 814c301..31a2fa5 100644
--- a/libgomp/testsuite/libgomp.c-c++-common/struct-elem-5.c
+++ b/libgomp/testsuite/libgomp.c-c++-common/struct-elem-5.c
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target offload_device_nonshared_as } } */
struct S
{