From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 378B43858028; Wed, 2 Nov 2022 08:22:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 378B43858028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667377352; bh=evAeVu0+KXUJJBZSqw6jHb/B2xuJqTFqiRIEy4sLZP8=; h=From:To:Subject:Date:From; b=Uwj8roIIiUsFlKwC+fWivzaErbRrYHYchN/gPuWw9Jrt/6To9dOjrWkwAXVoiUrC1 ESKaxCXb84ah7+JpBAigDm7IGIpBUdrcRuQ4D1lEroOPD4FJbLvheaOW0zxHcvRKUH +2a9zrcegXqFrT0yh0x16hAycMwPiKcx7ThMxtqE= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tobias Burnus 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 X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/devel/omp/gcc-12 X-Git-Oldrev: cb934e37962eeccc8641982b9a9855408979c767 X-Git-Newrev: ca13348769e83462e7b1166159fee01c89b70589 Message-Id: <20221102082232.378B43858028@sourceware.org> Date: Wed, 2 Nov 2022 08:22:32 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ca13348769e83462e7b1166159fee01c89b70589 commit ca13348769e83462e7b1166159fee01c89b70589 Author: Tobias Burnus 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 + + * testsuite/libgomp.c-c++-common/requires-4.c: Fix dg-xfail-run-if + condition. + 2022-11-02 Tobias Burnus * 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