From patchwork Thu Mar 23 20:58:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 74217 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp3129857wrt; Thu, 23 Mar 2023 13:59:24 -0700 (PDT) X-Google-Smtp-Source: AKy350Y8luYWYJM5+by2VIXTe8UGBZVMr/Cgc8gNdxO0Z9439kOL5UMteECcGVRf9q9U4VFdQ/Ut X-Received: by 2002:a17:906:d1cf:b0:8b1:7aaa:4c25 with SMTP id bs15-20020a170906d1cf00b008b17aaa4c25mr370702ejb.29.1679605164060; Thu, 23 Mar 2023 13:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679605164; cv=none; d=google.com; s=arc-20160816; b=ybeLB0zfgmOQMiGldzhFa874JU/IrtCOvGw6mupCay3TQ5WzMgseavWF2BYQdv46mL w4aGPG6c21uaE4bsQE9syZMUrE2iYguKDX5dltX7CrHWETT80qofT4OHE6+hsDSPKW3a gKeLaOwnzhXc3sar1/BJ8gCg1uo1zvxyrpE0faFaNIX0FM78ilyht+jy/vPXEzDE7vG/ 4eVcRYFofBIux24O4q8uCc2aISua7ivl+GaT7sK6REJm5dKFKU5EYgerzAIiWUN0StXj 2jdtBNNSjHakT8WLeLZRmD0xnHT0nblngMKItBB+YdxK+LzDnBQvuuvldiMHsJbjTg4f z6WQ== 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:date:message-id :content-transfer-encoding:mime-version:subject:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=tFNKMU/686fcpRQvSnnwOXX9xxzRBFpfF1hfHrsk28E=; b=noFD4ydj/GazDRAblxYOYkUVOrogBxBzMKFjdxhC42aeed6Axf4sCetgXBmUSBT4gT +fUgn8642cts2kpGDwmrzpDDPunbYjJTBa7AhK9JwGYnCIQvZ0M5mgi8zdSmFtaCgFBv 6Km5EPbGq4wXrhhJ5VkaHAsru6OL+vz3lMsWKXLeDTYFdB2toSHX7CdG/eQsf2+YfiJ3 Yd6LsGQTcCM+4KRxUn0Akblvpf/NZbj17DKbgpxJ+dxpCAD+74Cve79CWE2Of70Qo072 RH/4LJD3tT3efRxHMz20uZEiHOeZR3lhFYdAmdA/8Lry71mWVh1SN7xaMSKpb1TaXNSi bR0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=isIs0NdH; 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 hs30-20020a1709073e9e00b00934d56052b8si3267359ejc.683.2023.03.23.13.59.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 13:59:24 -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=isIs0NdH; 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 10DBE384840C for ; Thu, 23 Mar 2023 20:59:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10DBE384840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679605163; bh=tFNKMU/686fcpRQvSnnwOXX9xxzRBFpfF1hfHrsk28E=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=isIs0NdHA0Gj8cuuMgXcIBTxY68PdgMYKTH0oDXWyDXMmmSJMqtNwum0BxNZwAmN7 MsnGawpbHYRoS1zk+WYcFCEPPWyCQ9UKkdcoZ9ptJ4090mAYFbnrsUxUNfM/Jt5snW OzGRFq41l9H1XaNdUIFiebSLAaQLgXZB9euPMZrI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id C75C03858CDB for ; Thu, 23 Mar 2023 20:58:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C75C03858CDB To: Subject: [COMMITTED] testsuite: Xfail gcc.dg/tree-ssa/ssa-fre-100.c for ! natural_alignment_32 MIME-Version: 1.0 Message-ID: <20230323205838.3AA8B20430@pchp3.se.axis.com> Date: Thu, 23 Mar 2023 21:58:38 +0100 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_PASS, SPF_PASS, 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: Hans-Peter Nilsson via Gcc-patches From: Hans-Peter Nilsson Reply-To: Hans-Peter Nilsson 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?1761193664681301445?= X-GMAIL-MSGID: =?utf-8?q?1761193664681301445?= Tested native x86_64-linux and cris-elf. The "recent patch to gcc.dg/tree-ssa/pr100359.c" refers to r13-6838. Committed as obvious after that commit. -- >8 -- The test gcc.dg/tree-ssa/ssa-fre-100.c fails the scan-tree-dump-not fre1 "baz" for at least m68k-linux, pru-elf, and cris-elf according to posts on gcc-testresults. GCC requires int-size-alignment for a target to see through the "int *" dereference and perform value-numbering. See comments in PR91419 and also the recent patch to gcc.dg/tree-ssa/pr100359.c This is a flaw in gcc rather than the target, so prefer an xfail rather than skipping the test. * gcc.dg/tree-ssa/ssa-fre-100.c: XFAIL for ! natural_alignment_32. --- gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-100.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-100.c index ead76548f3df..1b6a3a398a4e 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-100.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-100.c @@ -22,4 +22,4 @@ void foo (int *p, int n) while (--n); } -/* { dg-final { scan-tree-dump-not "baz" "fre1" } } */ +/* { dg-final { scan-tree-dump-not "baz" "fre1" { xfail { ! natural_alignment_32 } } } } */