public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if condition
@ 2022-11-02  8:22 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2022-11-02  8:22 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:ca13348769e83462e7b1166159fee01c89b70589

commit ca13348769e83462e7b1166159fee01c89b70589
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Nov 2 09:20:40 2022 +0100

    libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if condition
    
    Seemingly an extra { } is required. This is a follow up to
    OG12 commit 0c47ae1c9283a812f832e80e451bfa82519c21e8
    
    libgomp/
            * testsuite/libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if
            condition.

Diff:
---
 libgomp/ChangeLog.omp                               | 5 +++++
 libgomp/testsuite/libgomp.c-c++-common/requires-4.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index ad5e7ae4c23..d76d9dd57ff 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2022-11-02  Tobias Burnus  <tobias@codesourcery.com>
+
+	* testsuite/libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if
+	condition.
+
 2022-11-02  Tobias Burnus  <tobias@codesourcery.com>
 
 	* testsuite/libgomp.fortran/target-11.f90: New test.
diff --git a/libgomp/testsuite/libgomp.c-c++-common/requires-4.c b/libgomp/testsuite/libgomp.c-c++-common/requires-4.c
index c6b28d5442f..f716c28a970 100644
--- a/libgomp/testsuite/libgomp.c-c++-common/requires-4.c
+++ b/libgomp/testsuite/libgomp.c-c++-common/requires-4.c
@@ -2,7 +2,7 @@
 /* { dg-additional-options "-foffload-options=nvptx-none=-misa=sm_35" { target { offload_target_nvptx } } } */
 /* { dg-additional-sources requires-4-aux.c } */
 
-/* { dg-xfail-run-if "USM via -foffload-memory=... does not support static variables" { offload_device_nvptx || offload_device_gcn } } */
+/* { dg-xfail-run-if "USM via -foffload-memory=... does not support static variables" { { offload_device_nvptx } || { offload_device_gcn } } } */
 
 /* Check no diagnostic by device-compiler's or host compiler's lto1.
    Other file uses: 'requires reverse_offload', but that's inactive as

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-02  8:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02  8:22 [gcc/devel/omp/gcc-12] libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if condition Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).