From patchwork Sun Nov 14 13:01:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 47631 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 996BB385AC12 for ; Sun, 14 Nov 2021 13:01:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id E71D43858403 for ; Sun, 14 Nov 2021 13:01:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E71D43858403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 99E6921959; Sun, 14 Nov 2021 13:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1636894876; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kEJFxQHcJbX4kk3Ayr3cYe882GpcKrVFpEwMdSi9QN4=; b=qcYaXxWBL4eMS3NEwUmg5EEoFlUCS1c1B7h4SFLpSr9QKjUcXa+Kk9FW+4Uh1uhx5DerIX 8BQ34u8HZrhpqzJgC9JDdMGoyW0j09t+6/oNbHnqurwa+IH0k1oBzGsGTzVtX8ORaXozYB 2nZw1GwU/0CAU7Ukqsp5Q1dy1UQ/oBs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1636894876; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kEJFxQHcJbX4kk3Ayr3cYe882GpcKrVFpEwMdSi9QN4=; b=vRf5I33Sj0xFLgMPw+7q3ZWAQieL6rSI3wJtxATtQQQElC8tR7kBGhQB/40V+dnBt+cgDU rofaH5Gt3pCGhqBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7D56713AAE; Sun, 14 Nov 2021 13:01:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id SbfTHJwIkWFrTAAAMHmgww (envelope-from ); Sun, 14 Nov 2021 13:01:16 +0000 Message-ID: <5a7e1c7f-1e86-603f-c8da-2c96c616dc35@suse.cz> Date: Sun, 14 Nov 2021 14:01:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] tsan: remove not needed -ldl in options To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, 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: , Cc: Jan Hubicka Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Tested and pushed to master as obvious. Martin gcc/testsuite/ChangeLog: * c-c++-common/tsan/free_race.c: Remove unnecessary -ldl. * c-c++-common/tsan/free_race2.c: Likewise. --- gcc/testsuite/c-c++-common/tsan/free_race.c | 2 +- gcc/testsuite/c-c++-common/tsan/free_race2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/c-c++-common/tsan/free_race.c b/gcc/testsuite/c-c++-common/tsan/free_race.c index 831c23e8859..390ec307dd8 100644 --- a/gcc/testsuite/c-c++-common/tsan/free_race.c +++ b/gcc/testsuite/c-c++-common/tsan/free_race.c @@ -1,5 +1,5 @@ /* { dg-shouldfail "tsan" } */ -/* { dg-additional-options "-ldl -fno-ipa-modref" } */ +/* { dg-additional-options "-fno-ipa-modref" } */ #include diff --git a/gcc/testsuite/c-c++-common/tsan/free_race2.c b/gcc/testsuite/c-c++-common/tsan/free_race2.c index a74d9dc3940..89d12c3175b 100644 --- a/gcc/testsuite/c-c++-common/tsan/free_race2.c +++ b/gcc/testsuite/c-c++-common/tsan/free_race2.c @@ -1,5 +1,5 @@ /* { dg-shouldfail "tsan" } */ -/* { dg-additional-options "-ldl -fno-ipa-modref" } */ +/* { dg-additional-options "-fno-ipa-modref" } */ #include