gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan for mmix.

Message ID alpine.BSF.2.20.16.2007262042010.14329@arjuna.pair.com
State New
Headers show
Series
  • gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan for mmix.
Related show

Commit Message

Hans-Peter Nilsson July 27, 2020, 12:42 a.m.
Looking at the dump and the test, I guess all "64-bit targets" fail
the test for the reasons seen in the comment just above the dg-final,
whose last two lines make it to the patch context.  Maybe the xfail
target list can be shortened by removing most targets and use just
"lp64".  That doesn't cover it passing on x86_64 and s390x-zarch
though.

gcc/testsuite:
	* gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan for mmix.

Patch

--- gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c.orig	Mon Jan 13 22:30:47 2020
+++ gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c	Mon Jul 27 02:21:14 2020
@@ -27,4 +27,4 @@  foo ()
    but the loop reads only one element at a time, and DOM cannot resolve these.
    The same happens on powerpc depending on the SIMD support available.  */

-/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* nvptx*-*-* } || { { { lp64 && { powerpc*-*-* sparc*-*-* riscv*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail { { alpha*-*-* hppa*64*-*-* nvptx*-*-* mmix-knuth-mmixware } || { { { lp64 && { powerpc*-*-* sparc*-*-* riscv*-*-* } } || aarch64_sve } || { arm*-*-* && { ! arm_neon } } } } } } } */