From patchwork Thu Oct 20 12:05:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 6172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp67965wrr; Thu, 20 Oct 2022 05:06:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KXG4WtjDSlTkgrQjMKxFJd5hdAdhlPbcWksI+5iKtLpzYgLmp9yAa3dCxStjyYFkFdNZF X-Received: by 2002:a17:907:75c8:b0:78d:b646:e768 with SMTP id jl8-20020a17090775c800b0078db646e768mr10549958ejc.432.1666267582170; Thu, 20 Oct 2022 05:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666267582; cv=none; d=google.com; s=arc-20160816; b=dCCTZTDGA3TkIERopxMgd6tmbxBDJ/8NDpIGeO8X8sJSypzi+55Ilzz9m57PJW/ibM rwE0OqAJsBSCUPtFMB5E3Rz4Ox0xZCGEY3mxRf02rmUjxqgDypW1s4/PaHYzIdYSatiM fEbSbjNIKUUl9lV8V4IYtdfxVw8UcGhnhrDgI54mJNHVPrTblioh51zOF8Vg9JTliR2H CIFAoXbTm3IgMfwbuy/GGen0zQPeBTHJO/fsAIvqbZEMsAR8z6lYvEfkTGndUU9cGgCw sGYAYfyx5QabdEPljjThT17ZWSkMu3ZCJSQTqYUN1V88Wh5ueyjBw09nrUUQlfnCq6jk Oqbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=GzD72FXzkM3VivoYXg7XMlT6ct1wu7eXPMbmgOD1Gj8=; b=jgFm5joellZ54xRCDqACxe8z8dJs6pWoi7ZLB4mwdNCsqXm9+GVSJkxPIxl3XJfdWT ysXxeKmYUO+gJVRDpOWmQwOg8rf4QTLZ23Kre7FLV9CXTUoCuCrbHrxDa0wRrQMuhJDz vpYpC5wAM/QQsHEgd7xkq/JmHvhdbEkN9uVyUf6vmvei41Gg/LyVqJeeAwgBOnyfsxhX qrxU2hKQ84ad6vD0LPWBq+Jyyq/20XhQM8w3zx3k+UYtZE4e+pCQcs3PA2+lTp0SdrSG fLynHUFtrUhbZxYSFJYj/CX2Ko0qUj0iw3p61ihZytit6x0uX8JztjqAXMNi3FSfMON7 bMNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ekEKwIeF; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id hs13-20020a1709073e8d00b0078d9c0e8971si16037736ejc.752.2022.10.20.05.06.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 05:06:22 -0700 (PDT) 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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ekEKwIeF; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 065E138515D5 for ; Thu, 20 Oct 2022 12:06:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 065E138515D5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666267581; bh=GzD72FXzkM3VivoYXg7XMlT6ct1wu7eXPMbmgOD1Gj8=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ekEKwIeF00ZW2LCLcz9fQcU1kr9C5QdpRZH8RyfpjodEcMDsGuWG3M7uI+pzcx5W8 Br9xkyaTxD5AMaK6nb5gqRJNsONAvzkdgUNjstWRAkAsK1Tg8zJiui1qBaiSqlu9/Z /0ktJna20tScvyyPfqgM19buxAyj7fSvJLTZuOQ0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 015993856173 for ; Thu, 20 Oct 2022 12:05:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 015993856173 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-450-_3tTqnPrMY6bAnTVgePlug-1; Thu, 20 Oct 2022 08:05:36 -0400 X-MC-Unique: _3tTqnPrMY6bAnTVgePlug-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3BF7C185A79C for ; Thu, 20 Oct 2022 12:05:36 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.193.252]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F0FB8C15BBC for ; Thu, 20 Oct 2022 12:05:35 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 29KC5SDV1621350 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 20 Oct 2022 14:05:34 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 29KC5IAS1621349 for gcc-patches@gcc.gnu.org; Thu, 20 Oct 2022 14:05:18 +0200 Date: Thu, 20 Oct 2022 14:05:17 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Add some missing -Wno-psabi options Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP 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: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747208196249740768?= X-GMAIL-MSGID: =?utf-8?q?1747208196249740768?= Hi! The following testcases FAIL on i686-linux due to excess diagnostics for -Wpsabi. Tested on x86_64-linux with make check-gcc RUNTESTFLAGS='--target_board=unix\{-m32/-msse2,-m32/-mno-mmx/-mno-sse,-m64\} i386.exp=pr107271.c btf.exp=btf-function-3.c' and committed to trunk as obvious. 2022-10-20 Jakub Jelinek * gcc.target/i386/pr107271.c: Add -Wno-psabi to dg-options. * gcc.dg/debug/btf/btf-function-3.c: Likewise. Jakub --- gcc/testsuite/gcc.target/i386/pr107271.c.jj 2022-10-19 11:20:54.633878743 +0200 +++ gcc/testsuite/gcc.target/i386/pr107271.c 2022-10-20 13:52:47.000966060 +0200 @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O0" } */ +/* { dg-options "-O0 -Wno-psabi" } */ typedef int __attribute__((__vector_size__ (16))) V; --- gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c.jj 2021-07-02 21:55:48.696990745 +0200 +++ gcc/testsuite/gcc.dg/debug/btf/btf-function-3.c 2022-10-20 13:17:58.793270607 +0200 @@ -7,7 +7,7 @@ has type_id=0. */ /* { dg-do compile } */ -/* { dg-options "-O0 -gbtf -dA" } */ +/* { dg-options "-O0 -gbtf -dA -Wno-psabi" } */ /* { dg-final { scan-assembler-times "\[\t \]0xd000003\[\t \]+\[^\n\]*btt_info" 1 } } */ /* { dg-final { scan-assembler-times "farg_name" 3 } } */