aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-06-14 09:25:15 +0200
committerThomas Schwinge <thomas@codesourcery.com>2023-06-14 11:41:43 +0200
commit58edbc8a16878bd679d8fad183b8191af4695c15 (patch)
tree84204b786d5914c8b90c028d319d7579365430d7
parentb7e42b85212e03eb59193a712eb523f26911a581 (diff)
downloadgcc-58edbc8a16878bd679d8fad183b8191af4695c15.zip
gcc-58edbc8a16878bd679d8fad183b8191af4695c15.tar.gz
gcc-58edbc8a16878bd679d8fad183b8191af4695c15.tar.bz2
Fix typo in 'libgomp.c/target-51.c'
..., and therefore, given 'target offload_device': PASS: libgomp.c/target-51.c (test for excess errors) PASS: libgomp.c/target-51.c execution test [-FAIL:-]{+PASS:+} libgomp.c/target-51.c output pattern test Fix-up for recent commit 18c8b56c7d67a9e37acf28822587786f0fc0efbc "OpenMP: Set default-device-var with OMP_TARGET_OFFLOAD=mandatory". libgomp/ * testsuite/libgomp.c/target-51.c: Fix typo.
-rw-r--r--libgomp/testsuite/libgomp.c/target-51.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.c/target-51.c b/libgomp/testsuite/libgomp.c/target-51.c
index 7d09bce..cf9e690 100644
--- a/libgomp/testsuite/libgomp.c/target-51.c
+++ b/libgomp/testsuite/libgomp.c/target-51.c
@@ -10,7 +10,7 @@
/* See comment in target-50.c/target-50.c for why the output differs. */
/* { dg-output ".*libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY but only the host device is available.*" { target { ! offload_device } } } */
-/* { dg-output ".*libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY but device not found.*" { target offload_device } } */
+/* { dg-output ".*libgomp: OMP_TARGET_OFFLOAD is set to MANDATORY, but device not found.*" { target offload_device } } */
int
main ()