public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-12] libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if condition
Date: Wed,  2 Nov 2022 08:22:32 +0000 (GMT)	[thread overview]
Message-ID: <20221102082232.378B43858028@sourceware.org> (raw)

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

                 reply	other threads:[~2022-11-02  8:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221102082232.378B43858028@sourceware.org \
    --to=burnus@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).