From patchwork Thu Feb 9 11:16:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 64523 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 05FC838582BC for ; Thu, 9 Feb 2023 11:16:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 3BF003858C50; Thu, 9 Feb 2023 11:16:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3BF003858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.97,283,1669104000"; d="scan'208,223";a="100169732" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 09 Feb 2023 03:16:35 -0800 IronPort-SDR: 4F4E83I0fzo47U9E8fKOrGuZV8bGhFMVcbh13gHShjJR1ulUH60xX83Kjqpwi+F1e/2fi0UNhR I1R0X1bKKb4y8vupxmL2X0c6YmXl3sm0HyQFDwA3A7BoI9rTVI/M1aihlpxeiXDoijRmLDBfk0 WDUA4OoPhwrQ1CdZl9KGzGZtskH+AUct7UBxWZ3b54UosYzdk0rZv75WF3lITt8CsEa9B/EVp9 sNW6R8rWW8wwoipTzqz1xP15Hty+CIMnywr9oxQeo28Kp5IgwpIXxWU8sR+9aEet/96r4F8ml8 /0c= From: Thomas Schwinge To: , CC: Hafiz Abid Qadeer , , , Subject: [og12] 'c-c++-common/gomp/alloc-pinned-1.c' -> 'libgomp.c-c++-common/alloc-pinned-1.c' (was: [PATCH 5/5] openmp: -foffload-memory=pinned) In-Reply-To: <20220308113059.688551-6-abidh@codesourcery.com> References: <20220308113059.688551-1-abidh@codesourcery.com> <20220308113059.688551-6-abidh@codesourcery.com> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Thu, 9 Feb 2023 12:16:28 +0100 Message-ID: <87edqz1437.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Hi! On 2022-03-08T11:30:59+0000, Hafiz Abid Qadeer wrote: > From: Andrew Stubbs > > [...] > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/gomp/alloc-pinned-1.c > @@ -0,0 +1,28 @@ > +/* { dg-do run } */ Pushed to devel/omp/gcc-12 branch commit 9c0ffa3776a135a69697253a0bd75ebf9b9d0150 "'c-c++-common/gomp/alloc-pinned-1.c' -> 'libgomp.c-c++-common/alloc-pinned-1.c'", see attached. Note that this likewise applies to the current upstream submission: "openmp: -foffload-memory=pinned". Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 From 9c0ffa3776a135a69697253a0bd75ebf9b9d0150 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 30 Jan 2023 17:46:29 +0100 Subject: [PATCH] 'c-c++-common/gomp/alloc-pinned-1.c' -> 'libgomp.c-c++-common/alloc-pinned-1.c' Otherwise, for build-tree testing: xgcc: fatal error: cannot read spec file 'libgomp.spec': No such file or directory ..., and thus corresponding FAILs, UNRESOLVEDs. Fix-up for og12 commit 842df187487f5b16ae29bbe7e9acd79661a9df48 "openmp: -foffload-memory=pinned". gcc/testsuite/ * c-c++-common/gomp/alloc-pinned-1.c: Cut. libgomp/ * testsuite/libgomp.c-c++-common/alloc-pinned-1.c: Paste. --- gcc/testsuite/ChangeLog.omp | 2 ++ libgomp/ChangeLog.omp | 4 ++++ .../testsuite/libgomp.c-c++-common}/alloc-pinned-1.c | 0 3 files changed, 6 insertions(+) rename {gcc/testsuite/c-c++-common/gomp => libgomp/testsuite/libgomp.c-c++-common}/alloc-pinned-1.c (100%) diff --git a/gcc/testsuite/ChangeLog.omp b/gcc/testsuite/ChangeLog.omp index 42769c7dae5..9f9d5a10ac3 100644 --- a/gcc/testsuite/ChangeLog.omp +++ b/gcc/testsuite/ChangeLog.omp @@ -1,5 +1,7 @@ 2023-02-09 Thomas Schwinge + * c-c++-common/gomp/alloc-pinned-1.c: Cut. + * gfortran.dg/gomp/allocate-4.f90: Fix 'omp_allocator_handle_kind' example. diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index d319d43ceb0..39165173884 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,7 @@ +2023-02-09 Thomas Schwinge + + * testsuite/libgomp.c-c++-common/alloc-pinned-1.c: Paste. + 2023-02-08 Tobias Burnus Backported from master: diff --git a/gcc/testsuite/c-c++-common/gomp/alloc-pinned-1.c b/libgomp/testsuite/libgomp.c-c++-common/alloc-pinned-1.c similarity index 100% rename from gcc/testsuite/c-c++-common/gomp/alloc-pinned-1.c rename to libgomp/testsuite/libgomp.c-c++-common/alloc-pinned-1.c -- 2.25.1