From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1410) id 79B3B3851AA9; Thu, 15 Sep 2022 12:06:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79B3B3851AA9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663243578; bh=HW2tJEDcFQg592QcunFr+9CH/PLe6MkW7aYjVPHgj+Y=; h=From:To:Subject:Date:From; b=EbEOKKLT2iL+60E/apDJ/AN5Af7FjK5zQm2E+snjnQxOQ9vqMtSjdjayLaZeK7oc6 W48VafgjHGR0wqu8ODBwGGLIs9RQW8B77nyWrI0tPkmJeDPplEHRelcNi7Mhs9v0XW aSMJYHEDfw3C1Gc7ajypEAEu6Fmf2gZoLbJbIC9g= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Julian Brown To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2681] Fix c-c++-common/gomp/target-50.c test X-Act-Checkin: gcc X-Git-Author: Julian Brown X-Git-Refname: refs/heads/master X-Git-Oldrev: d7171ba78d564144d5bd020bb13a85ed8276b4c7 X-Git-Newrev: e3220adc444b00d6fd6e8775565222f65fd37138 Message-Id: <20220915120618.79B3B3851AA9@sourceware.org> Date: Thu, 15 Sep 2022 12:06:18 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e3220adc444b00d6fd6e8775565222f65fd37138 commit r13-2681-ge3220adc444b00d6fd6e8775565222f65fd37138 Author: Julian Brown Date: Thu Sep 15 12:01:28 2022 +0000 Fix c-c++-common/gomp/target-50.c test The expected scan dump output for this test will change after the following patch is committed: https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601558.html But for now, this patch reverts to the old expected pattern so the test passes. I will apply as obvious. 2022-09-15 Julian Brown gcc/testsuite/ * c-c++-common/gomp/target-50.c: Modify scan pattern. Diff: --- gcc/testsuite/c-c++-common/gomp/target-50.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/c-c++-common/gomp/target-50.c b/gcc/testsuite/c-c++-common/gomp/target-50.c index a30a25e0893..41f1d37845c 100644 --- a/gcc/testsuite/c-c++-common/gomp/target-50.c +++ b/gcc/testsuite/c-c++-common/gomp/target-50.c @@ -17,7 +17,7 @@ int main() #pragma omp target map(tofrom: tmp->arr[0:10]) map(to: tmp->arr) { } -/* { dg-final { scan-tree-dump-times {map\(struct:\*tmp \[len: 1\]\) map\(alloc:tmp[._0-9]*->arr \[len: [0-9]+\]\) map\(tofrom:\*_[0-9]+ \[len: [0-9]+\]\) map\(attach:tmp[._0-9]*->arr \[bias: 0\]\)} 2 "gimple" { target { ! { nvptx*-*-* amdgcn*-*-* } } } } } */ +/* { dg-final { scan-tree-dump-times {map\(struct:\*tmp \[len: 1\]\) map\(to:tmp[._0-9]*->arr \[len: [0-9]+\]\) map\(tofrom:\*_[0-9]+ \[len: [0-9]+\]\) map\(attach:tmp[._0-9]*->arr \[bias: 0\]\)} 2 "gimple" { target { ! { nvptx*-*-* amdgcn*-*-* } } } } } */ return 0; }