]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typo in 'libgomp.c/target-51.c'
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 14 Jun 2023 07:25:15 +0000 (09:25 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 14 Jun 2023 09:41:43 +0000 (11:41 +0200)
..., 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.

libgomp/testsuite/libgomp.c/target-51.c

index 7d09bceacd5862a0d8be6078b74a780cfb425b28..cf9e690263e9b81f063735b5f18199c2bc7898cc 100644 (file)
@@ -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 ()