]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove xfail from gcc.dg/tree-ssa/20040204-1.c
authorAndrew Pinski <apinski@marvell.com>
Sun, 17 Sep 2023 21:41:01 +0000 (21:41 +0000)
committerAndrew Pinski <apinski@marvell.com>
Sun, 17 Sep 2023 21:47:05 +0000 (21:47 +0000)
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.

gcc/testsuite/gcc.dg/tree-ssa/20040204-1.c

index b9f8fd21ac9f04013d691696ed446a8d860ada8f..aa9f68b8b42f9bb4d003c5c7644c1f36656fa49b 100644 (file)
@@ -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" } } */