From patchwork Wed Jul 17 21:50:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 1961795 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Grda41BE; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WPV4x34Gkz1yY1 for ; Thu, 18 Jul 2024 07:51:29 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 96FB4385DDC3 for ; Wed, 17 Jul 2024 21:51:27 +0000 (GMT) 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 276A1385C6C9 for ; Wed, 17 Jul 2024 21:51:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 276A1385C6C9 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 276A1385C6C9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721253067; cv=none; b=g1imwxYdhFv1RclPx7C534n4ld0nX5NlUYG98talpSlP/vuWfnny0atN5+yvElE6T/jaMEcknquRtb2zG7B7yTTmd/gNDOnXAVK80eRHconjC+3Xe9fcMsHAWRTe5iTP9RWrvYXSr1WB1rWg9dj1yFmUF450rQSr1Tf6oXiU1Os= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721253067; c=relaxed/simple; bh=d5Ri1u6+BBTYIIpDD29hqIGKGOzSmsgNY+gLGEQJb8s=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=Bngpy4GEZ9POGS2G+zHugZN/7TMbw+TUEM2M7XhYRN9PRWzVfLfgL0Pf08xFxL1wdXIsQSsRjytUO7ETsQ36xiWieDQ/HAPc3/iCbYLZlE6aiPvMJIDsMCc//qhKoodL7IJhaFWXmPNspurNdcZ4a3rbwRxaOCHNxeU2291xkMA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721253065; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=CgwXz4LoDukMot9SV918a5r+2amJ30fBoQR8gTkFOWc=; b=Grda41BEGnD3YJRXsScAnOAbu83C7+NLUTUADIk6//8k0jaHZR4KYpW6Z1aNsXqHf2etaf rr+m+wBvaIDHr0T8hdW2qxSmV6VBnsJaosk/joQNCZqPaellEFKCjUjl1qhvAONw7/FpAf tszDReVjrzJIXuDs0EjY7GGm2TF4qjw= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-445-KYb_bHFwNiGURDoTEQKAnw-1; Wed, 17 Jul 2024 17:51:04 -0400 X-MC-Unique: KYb_bHFwNiGURDoTEQKAnw-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C0BE41955D57; Wed, 17 Jul 2024 21:51:02 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.25]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EF41B1955F3B; Wed, 17 Jul 2024 21:51:01 +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 46HLowA63939915 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 17 Jul 2024 23:50:59 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 46HLowCO3939886; Wed, 17 Jul 2024 23:50:58 +0200 Date: Wed, 17 Jul 2024 23:50:58 +0200 From: Jakub Jelinek To: Andrew Pinski Cc: Richard Biener , Eikansh Gupta , gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up pr111150* tests on i686-linux [PR111150] Message-ID: References: <20240716133518.628-1-quic_eikagupt@quicinc.com> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org On Wed, Jul 17, 2024 at 10:00:24AM -0700, Andrew Pinski wrote: > > > * gcc.dg/tree-ssa/pr111150.c: New test. > > > * gcc.dg/tree-ssa/pr111150-1.c: New test. > > > * g++.dg/tree-ssa/pr111150.C: New test. The tests FAIL on i686-linux due to unexpected -Wpsabi diagnostics. Fixed as usually by adding -Wno-psabi to dg-options. Tested on x86_64-linux with GXX_TESTSUITE_STDS=98,11,14,17,20,23,26 make check-gcc check-g++ RUNTESTFLAGS="--target_board=unix\{-m32,-m64,-m32/-mno-mmx/-mno-sse\} dg.exp=pr111150* tree-ssa.exp=pr111150*" and committed to trunk as obvious. 2024-07-17 Jakub Jelinek PR tree-optimization/111150 * gcc.dg/tree-ssa/pr111150.c: Add -Wno-psabi to dg-options. * g++.dg/tree-ssa/pr111150.C: Likewise. Jakub --- gcc/testsuite/gcc.dg/tree-ssa/pr111150.c.jj 2024-07-17 23:36:01.339306510 +0200 +++ gcc/testsuite/gcc.dg/tree-ssa/pr111150.c 2024-07-17 23:45:05.216510014 +0200 @@ -1,6 +1,6 @@ /* PR tree-optimization/111150 */ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-forwprop1" } */ +/* { dg-options "-O1 -fdump-tree-forwprop1 -Wno-psabi" } */ typedef int v4si __attribute((__vector_size__(4 * sizeof(int)))); --- gcc/testsuite/g++.dg/tree-ssa/pr111150.C.jj 2024-07-17 23:36:01.338306522 +0200 +++ gcc/testsuite/g++.dg/tree-ssa/pr111150.C 2024-07-17 23:45:25.319258802 +0200 @@ -1,6 +1,7 @@ /* PR tree-optimization/111150 */ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-forwprop1" } */ +/* { dg-options "-O1 -fdump-tree-forwprop1 -Wno-psabi" } */ + typedef int v4si __attribute((__vector_size__(4 * sizeof(int)))); /* Before the patch, VEC_COND_EXPR was generated for each statement in the