From patchwork Tue Jan 26 08:36:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 1431584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=uEhzDIkY; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DQ0TL4zYGz9sVv for ; Tue, 26 Jan 2021 19:36:54 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBBA83989011; Tue, 26 Jan 2021 08:36:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBBA83989011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1611650205; bh=9jAv5gMxnOZCC/ko4CjAUBCyPsFGMBOl/4M4sTngC7Y=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=uEhzDIkYkFlBAycwKnhNmt5x/ArtLM2x7f0ArLpgwTRe2/pWdfirPsooekxvVy1Md Ll7lAkamtWWzdfkPvCvtM/NS02xJqGcLWOUECV8nux6LYhkPh4tkPq3iDc+lY3lJDD 3AYwrP6fw6hxJ9h+BN9DEZOvjoNxM/6gt4DvFwR4= 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 [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id BF94F3989011 for ; Tue, 26 Jan 2021 08:36:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BF94F3989011 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-150-7COLm20UNzy5qvONOHQnCw-1; Tue, 26 Jan 2021 03:36:41 -0500 X-MC-Unique: 7COLm20UNzy5qvONOHQnCw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 12FF6EC1A0; Tue, 26 Jan 2021 08:36:40 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-64.ams2.redhat.com [10.36.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95C481001901; Tue, 26 Jan 2021 08:36:39 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 10Q8aaKq2181394 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 26 Jan 2021 09:36:36 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 10Q8aZvi2181393; Tue, 26 Jan 2021 09:36:35 +0100 Date: Tue, 26 Jan 2021 09:36:35 +0100 To: Richard Biener Subject: [committed[ testsuite: Fix up pr98807.c on i686-linux [PR98807] Message-ID: <20210126083635.GZ4020736@tucnak> References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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@gcc.gnu.org Sender: "Gcc-patches" Hi! On Mon, Jan 25, 2021 at 01:18:05PM +0100, Richard Biener wrote: > This simplifies vector_element_bits further, avoiding any mode > dependence and instead relying on boolean vector construction > to populate element precision accordingly. > > Bootstrapped and tested on x86_64-unknown-linux-gnu (also with > AVX512 with the help of SDE), pushed. The new testcase FAILs on i686-linux with: gcc/testsuite/gcc.dg/pr98807.c: In function 'foo0': gcc/testsuite/gcc.dg/pr98807.c:20:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] gcc/testsuite/gcc.dg/pr98807.c:19:1: note: the ABI for passing parameters with 16-byte alignment has changed in GCC 4.6 gcc/testsuite/gcc.dg/pr98807.c:19:1: warning: SSE vector argument without SSE enabled changes the ABI [-Wpsabi] FAIL: gcc.dg/pr98807.c (test for excess errors) Adding usual testcase treatment for such cases. Tested on x86_64-linux -m32,-m32/-mno-sse,-m64, committed to trunk as obvious. 2021-01-26 Jakub Jelinek PR middle-end/98807 * gcc.dg/pr98807.c: Add -Wno-psabi -w to dg-options. Jakub --- gcc/testsuite/gcc.dg/pr98807.c.jj 2021-01-25 14:19:43.127539432 +0100 +++ gcc/testsuite/gcc.dg/pr98807.c 2021-01-26 09:29:51.392928389 +0100 @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target stdint_types } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -Wno-psabi -w" } */ /* { dg-additional-options "-mno-sse2" { target x86_64-*-* i?86-*-* } } */ #include