From patchwork Thu Aug 11 08:32:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 480 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:38f:b0:2d5:3c95:9e21 with SMTP id 15csp733207pxh; Fri, 12 Aug 2022 02:04:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4MIrcwwBpDvTnH5USb/AmVXFMBD5RhERNilNN0YkGDcHumJsVZVS8mLirYCcDISnJ7bBef X-Received: by 2002:a17:907:b590:b0:730:9e03:95a8 with SMTP id qx16-20020a170907b59000b007309e0395a8mr2043234ejc.384.1660295092981; Fri, 12 Aug 2022 02:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660295092; cv=none; d=google.com; s=arc-20160816; b=iwoW3sVW6Y/vLEWru1UimszOIWheLXpZJAlCpPhni4ft8tBpybLXk4GlttVn2KjK6E BEQkL91KAbhtkkbWge+InB5h8onjkwLMiRbFqkla5IVY+mLz3OoKRhCAt95NmQIUxWcE 1XSDh5DTaBeRt2u9I7kb1lIuAt1eIhd8/WNkFZJZMAxJ5m1oQa0kluwzy/1LU+hRg+An zud2YCutp9XGL4pVC/HQptwEc64nlgpxzG/YO0DFKRDg/DRj7djE9bXmKNqUlRsI4qlJ nyOxozZn5tz17MDOvPf6ycvdzG/HUs9cXF7vZAwX3cvj1k1XRcmFPcYffQZ2ny5CGzl4 qbTA== 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 :resent-to:resent-message-id:resent-date:resent-from:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=ezM9+zFqf38OvyprlN8LyAYbD5HnVxuEhd0M3kxAFLc=; b=M7txXBllyyqs0FnM/+tGD4/y5re1x0bBeN4Ksv8TDufvJbJOE7u6KWrdDLSnSwMcC4 +tMKP7a1zcwhsH7taQXY0mMvncQvhaA3yEABRTqTHTI57q5NRNUdMV6A3fMV0mqLRQTC JtndOcwRh4QIOTwKTNbO3pLJzGWi7Cf4mMJE6KWALnThosw3J46E2GxUVrfQRlzZgr3N PaFtpS++xUy+KNLd7zlBaWRVDAbjgWkCs1Y1AvlLvkQMSlw1rXTM5n73yTZ8DE3AtCAQ mqniPyDQRYZgeNymcfLODulO2oowrlPBGJC554Spigp1BlnLYTNCiIIP9nMM7shFJscJ s9Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=kGKDiBSA; 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 he7-20020a1709073d8700b0070f153ebd89si1911170ejc.7.2022.08.12.02.04.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 02:04:52 -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=kGKDiBSA; 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 7573F385C30F for ; Fri, 12 Aug 2022 09:04:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7573F385C30F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1660295079; bh=ezM9+zFqf38OvyprlN8LyAYbD5HnVxuEhd0M3kxAFLc=; h=Resent-From:Resent-Date:Resent-To:Date:To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=kGKDiBSAngB40etd4X8PGaNLQjDodQDguiw0giP6An4bqQIvx9PV6FnprCjlA0lFa uV9F37AloPXxrOTW2+RntomDeHmF+MAv/tnO4Gg4ZVDZuCorCbPK/EuP4n08z7UDAL UZZ8TVjjmKPCf8zC3uB3kWI11FrKPC8UKkOJLoCk= 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 ED9E1385842E for ; Fri, 12 Aug 2022 09:03:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ED9E1385842E 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-352-Z7uMreAjNu2EKQwYAa9m1Q-1; Fri, 12 Aug 2022 05:03:52 -0400 X-MC-Unique: Z7uMreAjNu2EKQwYAa9m1Q-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 19374101A54E for ; Fri, 12 Aug 2022 09:03:52 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CBBDA2166B29; Fri, 12 Aug 2022 09:03:51 +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 27C93nPb3995549 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 12 Aug 2022 11:03:49 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 27C93nHJ3995548; Fri, 12 Aug 2022 11:03:49 +0200 Resent-From: Jakub Jelinek Resent-Date: Fri, 12 Aug 2022 11:03:48 +0200 Resent-Message-ID: Resent-To: gcc-patches@gcc.gnu.org, Sam Feifer Date: Thu, 11 Aug 2022 10:32:44 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up pr104992* tests on i686-linux [PR104992] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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.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?1740945587266889485?= X-GMAIL-MSGID: =?utf-8?q?1740945587266889485?= Hi! These 2 tests were FAILing on i686-linux or e.g. with --target_board=unix/-m32/-mno-sse on x86_64-linux due to -Wpsabi warnings and also because dg-options in the latter test has been ignored due to missing space, so even -O2 wasn't passed at all. Tested with make check-gcc check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m32/-mno-sse,-m64\} dg.exp=pr104992*' on x86_64-linux, committed to trunk as obvious. 2022-08-11 Jakub Jelinek PR tree-optimization/104992 * gcc.dg/pr104992.c: Add -Wno-psabi to dg-options. * g++.dg/pr104992-1.C: Likewise. Add space between " and } in dg-options. Jakub --- gcc/testsuite/gcc.dg/pr104992.c.jj 2022-08-10 09:06:52.955213523 +0200 +++ gcc/testsuite/gcc.dg/pr104992.c 2022-08-11 10:07:52.047940115 +0200 @@ -1,6 +1,6 @@ /* PR tree-optimization/104992 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-options "-O2 -Wno-psabi -fdump-tree-optimized" } */ #define vector __attribute__((vector_size(4*sizeof(int)))) --- gcc/testsuite/g++.dg/pr104992-1.C.jj 2022-08-10 09:06:52.922213953 +0200 +++ gcc/testsuite/g++.dg/pr104992-1.C 2022-08-11 10:11:16.585203417 +0200 @@ -1,6 +1,6 @@ /* PR tree-optimization/104992 */ /* { dg-do run } */ -/* { dg-options "-O2"} */ +/* { dg-options "-O2 -Wno-psabi" } */ #include "../gcc.dg/pr104992.c"