From patchwork Sun Jan 14 18:46:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 187979 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1326882dyc; Sun, 14 Jan 2024 10:47:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBZS3BZT0hJvDDVdTAhh18SwdpxjyNHpS5Pxqt+JtKLfdXc6TpfiVoFjcM7VgLytgcmVLt X-Received: by 2002:a05:6214:508f:b0:681:374b:a3cb with SMTP id kk15-20020a056214508f00b00681374ba3cbmr5936210qvb.5.1705258072047; Sun, 14 Jan 2024 10:47:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705258072; cv=pass; d=google.com; s=arc-20160816; b=mNWooxw9qfXNHNMhwDN9Ky4O13E4Qwyfpk5kGO7jAiZjrB7NnRDjVklYzarGnhvjXx f4vl1AFyER/+Wzftb5cFY1iK6XwzOk3vkM4C+FCbni5XpBwrMRCyne3RoF5ky1b3+T11 ZW9FmkLoMdI55wlofuGXpEatMeSCFl5AMxgh3zF1w5LJIClhvPtTib2mo427cSOacWsH ScCx0mXNsj4sdUzUO1ThNSOcuwsPydNh2ghfjqIbN2Sv5uUM3EO9yUatt76LHtoGKaj5 SduPRSNK67GhegyAy+xgTIXb7uWu73uDfI814SPzMPAIv5TJ13oWUs6grOssDpLXb8yv cGJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=8ALFxl3FpPbkEUdU8E2xJpho/iEqLF6Acq9XhLOA+qc=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=b+0AKz1rz45g9YhnLoT2yeQ/2BmHmIv9XX8ipgyGk3yz/6LTg64kks6CV4YxN83yUD Zh8lcjU7lg9hPuLU3RWyoiutqo2x75QfLnmYAHh1bXuYZFGFCuhA4kAXa3TrGQdzyX2K XZdXG1LfT/N15bqgNWPL4QlPqYtzOe+01uxl1T+myO2U0T8SqlRT/fBEjZ4ymePJD+WJ 7yOkw66KNBb4Vzqq5T2ZbjC1px+8cIrCOrhsE7lZRu+MfKmguaVw99ndk6FNWcVg90gW SW+nuWUQYWKpwZ3PMq+OupwIw4q5U6mVbf5IaGHSSJey+AH9PHSmnkZRVOPKRNWZOgsM 0xUQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id p11-20020a0c8c8b000000b0066cf06339c8si6737599qvb.197.2024.01.14.10.47.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 10:47:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BFAFB3858D39 for ; Sun, 14 Jan 2024 18:47:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id D86E73858D20 for ; Sun, 14 Jan 2024 18:47:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D86E73858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D86E73858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705258032; cv=none; b=UCnYYn3nWyL+9xeyznhfKpN0cKtjP37KgmdlchCJNK3Jiy0xskEUwemI0eiloscGMIOBdJR8F3sdNFkaEguhFOlLPd/cNaug47yKtjtJnIgfT9aucmy4XqVz0y4jb5KCjPKqsBMjUGL+2Z9CwH0hBLRoaul209tbOIMqhvpygfI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705258032; c=relaxed/simple; bh=hfFiZN1d+n9RHoLjm9gIBZPCMgXP9Xl5tzWFswUMPns=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=sgh6z6nKu7/PgHBLmBl+tgtIWZcCluDugG9TZI0fz8GHEy92R/4iDH4eP3uQ7QuZkh2UcIo1mioFXH+GYX3Us2Vrtaafe5J/0B81pqAOm7fTR7CVub3Ac56+/fmmh54SK+HOkDHIYuD+I6vh/yEQZGGQY2r3zEFKmxiHczYfuX8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id 7FF831600123; Sun, 14 Jan 2024 19:47:04 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id C60F422011C; Sun, 14 Jan 2024 18:46:57 +0000 (UTC) Date: Sun, 14 Jan 2024 18:46:57 +0000 From: John David Anglin To: GCC Patches Subject: [committed] Fix dg-warning on hppa*64*-*-* Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788092687939028628 X-GMAIL-MSGID: 1788092687939028628 Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Fix dg-warning on hppa*64*-*-* 2024-01-14 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/Wattributes-6.c: Fix dg-warning on hppa*64*-*-*. diff --git a/gcc/testsuite/gcc.dg/Wattributes-6.c b/gcc/testsuite/gcc.dg/Wattributes-6.c index 978f3f938e9..49a085def9e 100644 --- a/gcc/testsuite/gcc.dg/Wattributes-6.c +++ b/gcc/testsuite/gcc.dg/Wattributes-6.c @@ -408,7 +408,7 @@ finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .warn_unused /* { dg-note "previous declaration here" "" { target *-*-* } .-1 } */ inline int ATTR ((aligned (4))) - finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .aligned \\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" { target { ! { hppa*64*-*-* } } } } */ + finline_hot_noret_align (int); /* { dg-warning "ignoring attribute .aligned \\(4\\). because it conflicts with attribute .aligned \\(8\\)." "" } */ inline int ATTR ((aligned (8))) finline_hot_noret_align (int); /* { dg-note "previous declaration here" } */