From patchwork Sat Nov 2 21:03:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 2005571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256 header.s=default header.b=CPlvjwWo; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xgqxy2b4Tz1xxN for ; Sun, 3 Nov 2024 08:05:26 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7C6013857BA3 for ; Sat, 2 Nov 2024 21:05:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 5C5D33858C39 for ; Sat, 2 Nov 2024 21:04:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C5D33858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5C5D33858C39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.174.156.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730581462; cv=none; b=Q9XXk+Nvzg4eonwXz6PBlhMhNgYGWxETHV0TDUPPCf78CwfQO6vmxRZuHRIjbXX6Gc59PeWjSF7QhHmecFsU4nhLOYv4Nq1uAq8Nvlo80KdsSzh8Wa0S2jxp2r28e/XLUm2Jgba5+qdCK2g/deMvHDWu/ngeGktopdqJpfGYcTg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730581462; c=relaxed/simple; bh=TTHYpjfLNSPUJKOF+HgYSKf+FbEf02KVvNqqMrr57dY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=N050f8vnror08DnJuf9YYsuoetVTW/IL4CKjpblBzdkJHlxkVQsKa/HsmCSwt7dfKMLiKNvifaMJPccSMHtjFXV1XoXhxuMFk7HQA2VweT1Sgufc41AHd9RHxBtCqVoaOYdCtpP8xTtPzhgnEFfDCizsWs8pCfyGkGe/3TJUKl4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=OrOLRx9Lsg3AS9ARPA6fSCEU7Wu+wLJvROacTylPe1g=; b=CPlvjwWoX48eX0Me5DXGJ2GxAN n/+VHAN8zxPJxPBsNtm94ybumV0nC9QRvioW6sQj9GeW2WsNPPPZ4OhLT/7IUck9HQqSlgvq75VUw 9FR4cWiBcTO/uRDbuYlcgLbDC1uGf9j5/Ne2qpsoj3Q3a72neILZlVrM+7Mm9G8soA3g7sKy5Tu5M CrM9BFUYlktGZfXH6GeWdsFZdKtp361aGXJmWkru+XblrjtjqmQG5pMG0tTT6pKw5bUqJrZGASlz6 8T9gA9aL9q4a8BY/KLjO22n15AqHb4LynNA1qTYGiUShVjlWUW0BG1xYL3LBVF+ntit00RtXrg9Xf d4UHuq0Q==; Received: from 95-42-20-142.ip.btc-net.bg ([95.42.20.142]:33874 helo=kendros.lan) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1t7LI7-0007Ck-2O; Sat, 02 Nov 2024 23:04:17 +0200 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov , Xi Ruoyao Subject: [committed] testsuite: Require fpic support for pr116887.c Date: Sat, 2 Nov 2024 23:03:57 +0200 Message-ID: <20241102210357.46525-2-dimitar@dinux.eu> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 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 Test case pr116887.c is passing -fpic, so mark it as such. With this patch the test is now properly marked as unsupported for pru-unknown-elf. Test still passes for x86_64-pc-linux-gnu. Pushed to trunk as obvious. gcc/testsuite/ChangeLog: * gcc.dg/pr116887.c: Require effective target fpic. Cc: Xi Ruoyao Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/pr116887.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/pr116887.c b/gcc/testsuite/gcc.dg/pr116887.c index b7255e09a18..e22b944eade 100644 --- a/gcc/testsuite/gcc.dg/pr116887.c +++ b/gcc/testsuite/gcc.dg/pr116887.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-fpic" } */ struct link_map