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: 56365 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ACAE1385AC24 for ; Wed, 27 Jul 2022 10:12:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACAE1385AC24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1658916738; 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=V/iEYJLnJaNJLl4m21oPLKxDxDqJARavv3dLzmSLojBYaTcQ+K6UVbbY43dfvVgSS CRMq1DzpAHJXM2Q9iiORs0Xab6qW4WvynL/Ywf927b0ZvRVcPnA801L1BTXigv5f+G 1Wxy77a/uPrqGybIjtqQX7LzsqryaE3XQI509NGk= 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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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"