From patchwork Wed Jun 14 10:38:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 1794904 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4Qh23T0MTDz20WR for ; Wed, 14 Jun 2023 20:39:17 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E21D43858033 for ; Wed, 14 Jun 2023 10:39:14 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id C814D3858D1E for ; Wed, 14 Jun 2023 10:39:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C814D3858D1E 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.00,242,1681200000"; d="scan'208,223";a="9804131" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 14 Jun 2023 02:39:01 -0800 IronPort-SDR: Pm0NkMjr0ES69JcQmgbPPufgtZ0y/XpFl/JG+Q3tFhT5WnYUjBOBNO4oiMWoyWk9bVXtAxuDJZ PI90vg7rZWbvEzJNUGS8ArKaRr+7lmfuWFjDcsvdKI7eorSA1HVz13v6eOoFL7Nxd7qgGAzRB5 08Ls9G+9jA3RbIUOYqvCxCmRe0xW4T/u39p55yqPb7p5+fVzkkSEPcH1GH5KNkxLYJ0u1/pxJM fCmBcTbOLH4vuxqd3z3+6jncfokRiQ8A9O0dE1uIAsje1+l6gGq+lfCCEQ3MaLyFes9RFFW4Vu O9M= From: Thomas Schwinge To: , Jakub Jelinek , Tobias Burnus Subject: libgomp testsuite: Don't handle 'lang_link_flags' User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Wed, 14 Jun 2023 12:38:51 +0200 Message-ID: <87cz1ywcp0.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) 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" Hi! Any objections to pushing the attached "libgomp testsuite: Don't handle 'lang_link_flags'"? 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 b3d33dc858fffeeed83735e55d86963e2297a78d Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 5 Jun 2023 11:45:41 +0200 Subject: [PATCH] libgomp testsuite: Don't handle 'lang_link_flags' ..., which as of recent commit 4bcb46b3ade1796c5a57b294f5cca25f00671cac "driver: Forward '-lgfortran', '-lm' to offloading compilation" is unused, and we don't anticipate any new usage. libgomp/ * testsuite/lib/libgomp.exp (libgomp_target_compile): Don't handle 'lang_link_flags'. --- libgomp/testsuite/lib/libgomp.exp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 1c4af9a8a2c..fb2bce38e28 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -277,10 +277,6 @@ proc libgomp_target_compile { source dest type options } { lappend options "ldflags=-L${blddir}/${lang_library_path}" } } - global lang_link_flags - if { [info exists lang_link_flags] } { - lappend options "ldflags=${lang_link_flags}" - } if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { lappend options "libs=${gluefile}" -- 2.34.1