From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1314) id C304A3858D32; Sun, 17 Sep 2023 21:47:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C304A3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694987256; bh=QDXeuMvGXKcNy8nXSwjWmAFmMw33bmh7hZf9wtK/kyo=; h=From:To:Subject:Date:From; b=ZC6s4Zxhns1GUpdogKu/81H0SM+PkSKpeygnt/2EwrfwYB9GvmuztvM5PggOBScWu 0SHPf8zQGFYQ8Zz+1UG4zKtLZB+FAwXOv0zqeyQ8chRrZ5OhcS18LNi9Wv9IXNen4g Lzg6vgJmZ4/nrmi8rUHuLR2kCdI/umzFuxUNfXD8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Andrew Pinski To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-4080] Remove xfail from gcc.dg/tree-ssa/20040204-1.c X-Act-Checkin: gcc X-Git-Author: Andrew Pinski X-Git-Refname: refs/heads/trunk X-Git-Oldrev: b34f8e705d961260adc2bea95db4361b2e70d565 X-Git-Newrev: 51f1287e0a207c60329b64e6085f39766ee8be2a Message-Id: <20230917214736.C304A3858D32@sourceware.org> Date: Sun, 17 Sep 2023 21:47:36 +0000 (GMT) List-Id: https://gcc.gnu.org/g:51f1287e0a207c60329b64e6085f39766ee8be2a commit r14-4080-g51f1287e0a207c60329b64e6085f39766ee8be2a Author: Andrew Pinski Date: Sun Sep 17 21:41:01 2023 +0000 Remove xfail from gcc.dg/tree-ssa/20040204-1.c So the xfail was there because at one point the difference from having logical-op-non-short-circuit set to 1 or 0 made a difference in being able to optimizing a conditional way. This has not been true for over 10 years in this case so instead of keeping on adding to the xfail list, removing it is the right thing to do. Committed as obvious after a test on x86_64-linux-gnu. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/20040204-1.c: Remove xfail. Diff: --- gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c b/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c index b9f8fd21ac9..aa9f68b8b42 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c @@ -29,8 +29,4 @@ void test55 (int x, int y) /* There should be not link_error calls, if there is any the optimization has failed */ -/* ??? Ug. This one may or may not fail based on how fold decides - that the && should be emitted (based on BRANCH_COST). Fix this - by teaching dom to look through && and register all components - as true. */ -/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail { ! "alpha*-*-* arm*-*-* aarch64*-*-* powerpc*-*-* cris-*-* hppa*-*-* i?86-*-* mmix-*-* mips*-*-* m68k*-*-* moxie-*-* nds32*-*-* s390*-*-* sh*-*-* sparc*-*-* visium-*-* x86_64-*-* riscv*-*-* or1k*-*-* msp430-*-* pru*-*-* nvptx*-*-*" } } } } */ +/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */