From patchwork Fri Jul 14 16:33:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Brown X-Patchwork-Id: 1807919 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R2cWT0njWz20bh for ; Sat, 15 Jul 2023 02:34:29 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EAA80385624F for ; Fri, 14 Jul 2023 16:34:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id B59093858426; Fri, 14 Jul 2023 16:34:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B59093858426 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="6.01,206,1684828800"; d="scan'208";a="11870709" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 14 Jul 2023 08:34:05 -0800 IronPort-SDR: hsLnoNSylYyou+MOxBQD0zrSrENWuvih0r+F45odXyqjo+aPAUWopb91sB01yjwQ1+Q4NHQ3f5 54yUGe8sd7wIMMFvyDDVFEFspBzNFTeL8gvPPtPfeWeCzXwpbjMfbH6rFHaQYnSl98EJcnpUv7 WImVtSxAZCumryeX6JzG0pMp0l+zcT7kQNw1moUcWOsiHjLv4P1jFyfP4TGYE+mC4+qop2sNkB 2MtgweiQVdDucDp9JAeeeraj2W9vr2nKOVyRVftQYaURZTaJjUqcjM3J+zICrxHk/1ESjrMR7S xpU= From: Julian Brown To: CC: , , Subject: [PATCH] [og13] OpenMP: Enable c-c++-common/gomp/declare-mapper-3.c for C Date: Fri, 14 Jul 2023 16:33:40 +0000 Message-ID: <20230714163340.3464603-2-julian@codesourcery.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230714163340.3464603-1-julian@codesourcery.com> References: <20230714163340.3464603-1-julian@codesourcery.com> MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) To svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) 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, T_SCC_BODY_TEXT_LINE 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" This patch enables the c-c++-common/gomp/declare-mapper-3.c test for C. This was seemingly overlooked in commit 393fd99c90e. Tested with offloading to AMD GCN. I will apply (to og13) shortly. 2023-07-14 Julian Brown gcc/testsuite/ * c-c++-common/gomp/declare-mapper-3.c: Enable for C. --- gcc/testsuite/c-c++-common/gomp/declare-mapper-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/c-c++-common/gomp/declare-mapper-3.c b/gcc/testsuite/c-c++-common/gomp/declare-mapper-3.c index 983d979d68c..e491bcd0ce6 100644 --- a/gcc/testsuite/c-c++-common/gomp/declare-mapper-3.c +++ b/gcc/testsuite/c-c++-common/gomp/declare-mapper-3.c @@ -1,4 +1,4 @@ -// { dg-do compile { target c++ } } +// { dg-do compile } // { dg-additional-options "-fdump-tree-gimple" } #include