From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 6B3253857C56 for ; Thu, 25 Nov 2021 14:10:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6B3253857C56 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: Fow0oYugO1V3ccemKnn344gdx7YlQ4iHbYx4gTP+Qk8z7YFj/j95Gsnkd02YHJkKB9q/WIoyVo TTDLxcmLqK0d+Wb0FaJVjUazfWvU+xCcIziR3QUt8LWlYJ5nAsZMR5amiLWMWC/bKpGG4Gg3jb 0nd7jZIqSxWi9cKGTQZ/0c1Crh8XgViMx7qeGctG8rvTfupGjA4QneRXzvYIzNSzen3LBy6iy1 NwQ2nn/laMwcGPewxK+gxf486smoZzePeAunR8N+9g05n+3S9Qg9ZhmIpk/LN8qnlAhIi0l8q7 c9YLPQOY+cDQYwkfy/SNt0Rc X-IronPort-AV: E=Sophos;i="5.87,263,1631606400"; d="scan'208";a="68920869" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 25 Nov 2021 06:10:25 -0800 IronPort-SDR: 7w9qsvmn0+prCoYSv1egJfSAZrszMQGfOm7d6Z3t8Lqx7E7rMz5Pl4lbxBHtu0KTmV43U+baoj 5DofdQNCto41polk7hl6+WSK3UuBSrGVwG1LO6bJj6HvXPrM6z3pYlHlo6qAoHQ51JgN6kM9At TKZ59hc3W3GKrqFsG35ZmrcEdtjZ1YuF6uIMWEjZv/geKKrliJJzZqkHbS6zia93Ss9j2KTIHX g2SIhdIoMUBhjcJpC7av9C1iXFNLpgQ9qibS0Y98V9nwRfvN1CMWEOr3Tlhb0dIA0vLxdEBfk3 RzI= From: Julian Brown To: CC: Jakub Jelinek , Thomas Schwinge Subject: [PATCH 12/16] OpenACC: Make deep-copy-arrayofstruct.c a libgomp/runtime test Date: Thu, 25 Nov 2021 06:10:11 -0800 Message-ID: <20211125141013.113782-3-julian@codesourcery.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211125141013.113782-1-julian@codesourcery.com> References: <20211125141013.113782-1-julian@codesourcery.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-Spam-Status: No, score=-11.8 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-List-Received-Date: Thu, 25 Nov 2021 14:10:28 -0000 I noticed that the test in question now compiles properly, and in fact runs properly too. Thus it's more useful as a runtime test than a passing compilation test that otherwise doesn't do much. This patch moves it to libgomp. OK? Thanks, Julian 2021-10-11 Julian Brown gcc/testsuite/ * c-c++-common/goacc/deep-copy-arrayofstruct.c: Move test from here. libgomp/ * testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c: Move test to here. --- .../libgomp.oacc-c-c++-common}/deep-copy-arrayofstruct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename {gcc/testsuite/c-c++-common/goacc => libgomp/testsuite/libgomp.oacc-c-c++-common}/deep-copy-arrayofstruct.c (98%) diff --git a/gcc/testsuite/c-c++-common/goacc/deep-copy-arrayofstruct.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c similarity index 98% rename from gcc/testsuite/c-c++-common/goacc/deep-copy-arrayofstruct.c rename to libgomp/testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c index 4247607b61c..a11c64749cc 100644 --- a/gcc/testsuite/c-c++-common/goacc/deep-copy-arrayofstruct.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do run } */ #include #include -- 2.29.2