From patchwork Thu Nov 23 19:23:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 169089 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp665084vqx; Thu, 23 Nov 2023 11:24:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBsyjyWchmtpy25AJ5LM0WxYCNB2nRWsddNqQYTWl2m4YAn7T/eFiabveKfJJtLA0COE0z X-Received: by 2002:a05:6214:16cb:b0:66f:bbf7:dcbc with SMTP id d11-20020a05621416cb00b0066fbbf7dcbcmr474685qvz.36.1700767459556; Thu, 23 Nov 2023 11:24:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700767459; cv=pass; d=google.com; s=arc-20160816; b=iLDzPBLtYMk/PMbboCGhyHjNHYiKRhqifEu9F1pcjbYaSIiapDJ23KMj5FK6ZviXR7 BtUPFgYHS+ECeDX7+qXq6mxStrE2QvIY3UZgt9wxkimUo3ZFO50GdYg98neBE3EOeNDe 4wu4ixhQPwDKNTACwwlCV9/LHIfOA+J7ZaJ94ya6sPp9pxTqBzxBXDgPJ9gnRxXQ618y +aIXDeSZWMGXWRgFWx/VzkyPbuR6TxVv5nGhyFomWiiUL2of/QdLNKD9Nq1MFy2+tvFD TvVIdm+LpTBuuJxsH2DbOtt2C5LXDPi7oc8XvnPHZH2bGaFPeU+sX2Tv2Z+zzkTld6yu bTyg== 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=nNbNdPFloOV06tH5Gndvr5pZ9jALvSykN2iW7xAA6NA=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=I9QsMfO/CxuXAlX5to+ojCSmYfYDhWi6JETl0fF0jC516++rM53iS3itMeSm9cY/wg R/d4Sg52egaFiST0BRxw7hnxIRg1oY71oqNcMAe037Za2htKP+cIlK5MPOJgmzYVJ4h+ hQSEoZRsX+W5QJITJpeQClzW6mabOabwvKZQXNxvGn3pQKP32TXtqMs7nSnInxZTkFpi r4PQpvs1PLQIwuQn9p4lvYDAyym209HTtqd+0uSlcx8AaNTjURXHQC84iamqtoz6KdOE 0qeisQRlU0ZTw86NqY/Dt02R4iGabvuUBSEEuNiqRj7n5weOARwnE1R54VP9hVrYxd9L FdHw== 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 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q5-20020a05620a024500b0077433fe23b1si1611106qkn.277.2023.11.23.11.24.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 11:24:19 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; 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 8.43.85.97 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 55C6B3857B95 for ; Thu, 23 Nov 2023 19:24:19 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 6EE853858D35 for ; Thu, 23 Nov 2023 19:23:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6EE853858D35 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 6EE853858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=173.249.48.176 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700767437; cv=none; b=OblfS7exYDb+EamZ6T3Iw/tmiL+1raebwQcXzDsbpMBbwz2hs2V6n7Nq6PsjQnhixOz6lf16r9OuUvN2ZP4EVM7oN7JDVAr+W7x8beVXLuYg3Xa8Vzyn1ZoIRd53AVvtbduG5HUYrwGJ2Ypiy+l4OA4IewrmSgAcZvbGO7gyry0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700767437; c=relaxed/simple; bh=xC2xLecCDEQRye1I9N1ntIcFY0Enrvkfm65W/zwolzg=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=pVC1jQBVtSdDIHeEzTwyicAdvLvnFclAYTwa0z1uwdoR55mfIGm/5N34mscE0ISuzKTdv5WCaw5dmPpOeYX1LCTc4nhhaWteVQCuy+NUPgFC/EKkHO41ZSq9SZR6Y2skxqfhVtfRE3lmdX9NoHcHWlKxQDo+p6d6DUmJ9pfp340= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id 24A031600244; Thu, 23 Nov 2023 20:23:55 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id 7398622012C; Thu, 23 Nov 2023 19:23:33 +0000 (UTC) Date: Thu, 23 Nov 2023 19:23:33 +0000 From: John David Anglin To: GCC Patches Subject: [committed] hppa: Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-* Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-8.9 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: 1783383939909091311 X-GMAIL-MSGID: 1783383939909091311 The warning is now properly generated. Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-* 2023-11-23 John David Anglin gcc/testsuite/ChangeLog: * c-c++-common/Wattributes.c: Don't skip check for warning at line 411 in Wattributes.c on hppa*64*-*-*. diff --git a/gcc/testsuite/c-c++-common/Wattributes.c b/gcc/testsuite/c-c++-common/Wattributes.c index 978f3f938e9..49a085def9e 100644 --- a/gcc/testsuite/c-c++-common/Wattributes.c +++ b/gcc/testsuite/c-c++-common/Wattributes.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" } */