From patchwork Wed Jul 27 10:11:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 209 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:b5d6:b0:2b9:3548:2db5 with SMTP id v22csp299389pxt; Wed, 27 Jul 2022 03:12:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1timy41ZcaPeAkbaTHZaFOQDnvOdKyXzO9Xx+W4ZmJpSMcolGSKp0Faow4kgm7bZp8i5f90 X-Received: by 2002:a17:907:7f94:b0:72b:47da:4bf3 with SMTP id qk20-20020a1709077f9400b0072b47da4bf3mr18135220ejc.157.1658916754072; Wed, 27 Jul 2022 03:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658916754; cv=none; d=google.com; s=arc-20160816; b=eAbo0QbWXfo9fW+9FSm9y0sdeGOgWmQchT3HOnEMejtjQSDhQ8Ef8FJ7/XNJ0becQi Co3XBjzaNik5x5tlKJuouJovH/56X1dCv2yo8iPCTPr6SaYgPVTdOxMSmUZVpu+oHJic Yb2OZ1WFZy99sI4vbzXQn2TEonjRAJrKi6IPcBK3LP2Wnqyjdm/9d1f1XGLUoJhX7239 VzI+4GdAsxmi0/6nzlDymj8NVtuUkTxBeEZcVDyat2zOwvSfmonKSBYzSQQ3bI0JElTv PcnS9dI5VL0Ov8DWS8q87KCDkZ2L6t/aiiC8Hxja+hKqtqGG8xFs5xY8fn/iT+T3IP20 DfPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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=GGqbW6WOkV84UE3r2wH6Wcsw6hMKV/VtDG5UI5R8c2Q=; b=YH9CsYXv4/rN87RVLpGMxTL5kBPNYwZr52pqD8BAvItQrdDfRSgnYh9VBdsWk1OZXF JfMRDHQ7twYq/GF5HItPGNEJ1Ggkjji8kYgB/1DLC603bEZZT58pcjCzhIn9q2iCtPip ct8iYbjJ7Py18bez2SkPIxrtR2OUhFLozaF9UMFoyKoaUCb1bdHCroJcAKm5RYHUsj1v 2HobpKwH0h3XtFvWsaMdf/J5HHFnEARIG5q3sVTwZDXe7OFdUmF4qdKhY2VZQDeI66/c n9elmYumzHntCCOxRsIwTGSuPxC5VVZCXgYUEC/HdB8AySa5IOJdADs3OQG5oTu7YKzI dELw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=LLktaUmj; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id dt19-20020a170907729300b0072b5895f57bsi14396652ejc.12.2022.07.27.03.12.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 03:12:34 -0700 (PDT) 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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=LLktaUmj; 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"; 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 B698B385702B for ; Wed, 27 Jul 2022 10:12:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B698B385702B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1658916752; bh=GGqbW6WOkV84UE3r2wH6Wcsw6hMKV/VtDG5UI5R8c2Q=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=LLktaUmjbKlEGOGsUG5pmM0JOJJCh4aB/BgSA+3lZZ8irDadt+AgvuSXKjgefKh3Z okweR0WqrVdzwBPj2QNzy5ohJBKRmP/ljN3/c8VSjwFBPlVQrAfB6ZinPHQhRG63hC r2CDK2F/cIlZpYq2oeWbg8BKYFa0op7szY/A9ym4= 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.129.124]) by sourceware.org (Postfix) with ESMTPS id BC1073857001 for ; Wed, 27 Jul 2022 10:11:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BC1073857001 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-607-aqdIpfcsPFuBKfQvf-aoKA-1; Wed, 27 Jul 2022 06:11:46 -0400 X-MC-Unique: aqdIpfcsPFuBKfQvf-aoKA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1EADC38173C4; Wed, 27 Jul 2022 10:11:46 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.41]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C7412403D0E0; Wed, 27 Jul 2022 10:11:45 +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 26RABh3w2208779 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 27 Jul 2022 12:11:43 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 26RABgow2208778; Wed, 27 Jul 2022 12:11:42 +0200 Date: Wed, 27 Jul 2022 12:11:42 +0200 To: Richard Biener , Sam Feifer , Marek Polacek Subject: [committed] testsuite: Add -Wno-psabi to pr94920 tests [PR94920] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, 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 Cc: gcc-patches@gcc.gnu.org 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?1739500294168103700?= X-GMAIL-MSGID: =?utf-8?q?1739500294168103700?= Hi! These tests fail on ia32, because we get -Wpsabi warnings. Fixed by adding -Wno-psabi. The pr94920.C test still fails the ABS_EXPR scan-tree-dump though, I think we'll need to add vect options and use vect_int effective target or something similar. 2022-07-27 Jakub Jelinek PR tree-optimization/94920 * g++.dg/pr94920.C: Add -Wno-psabi to dg-options. * g++.dg/pr94920-1.C: Add dg-additional-options -Wno-psabi. Jakub --- gcc/testsuite/g++.dg/pr94920.C.jj 2022-07-26 10:32:23.957268227 +0200 +++ gcc/testsuite/g++.dg/pr94920.C 2022-07-27 10:59:21.390147571 +0200 @@ -1,6 +1,6 @@ /* PR tree-optimization/94920 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-options "-O2 -Wno-psabi -fdump-tree-optimized" } */ typedef int __attribute__((vector_size(4*sizeof(int)))) vint; --- gcc/testsuite/g++.dg/pr94920-1.C.jj 2022-07-26 10:32:23.957268227 +0200 +++ gcc/testsuite/g++.dg/pr94920-1.C 2022-07-27 10:58:40.451693998 +0200 @@ -1,4 +1,5 @@ /* PR tree-optimization/94920 */ +/* { dg-additional-options "-Wno-psabi" } */ /* { dg-do run } */ #include "pr94920.C"