Hi,

The test fails for Cortex-M0 (arm-none-eabi) for, what I belive, the same 
reason as
the xfail on hppa*-*-hpux* in r17-4470-ge741ce45698e48.

spawn -ignore SIGHUP /build/r17-5743-ge33129b871c302/bin/arm-none-eabi-gcc 
/build/gcc_src/gcc/testsuite/gcc.dg/tree-ssa/pr125734.c -mthumb -march=armv6s-m 
-mcpu=cortex-m0 -mfloat-abi=soft -mfpu=auto -fdiagnostics-plain-output -O2 
-fdump-tree-optimized -S -o pr125734.s
...
PASS: gcc.dg/tree-ssa/pr125734.c (test for excess errors)
gcc.dg/tree-ssa/pr125734.c: pattern found 0 times
FAIL: gcc.dg/tree-ssa/pr125734.c scan-tree-dump-times optimized "\\.CLZ" 1

Ok for trunk?

--

The test fails on targets without CLZ support.

gcc/testsuite/ChangeLog:

        * gcc.dg/tree-ssa/pr125734.c: XFAIl on !clz.

Signed-off-by: Torbjörn SVENSSON <[email protected]>
---
 gcc/testsuite/gcc.dg/tree-ssa/pr125734.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr125734.c 
b/gcc/testsuite/gcc.dg/tree-ssa/pr125734.c
index 0b9ec012528..c9e7c6d8c6f 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr125734.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr125734.c
@@ -29,4 +29,4 @@ nlz32_negative (int b)
   return c;
 }
 
-/* { dg-final { scan-tree-dump-times "\\.CLZ" 1 "optimized" { xfail 
hppa*-*-hpux* } } } */
+/* { dg-final { scan-tree-dump-times "\\.CLZ" 1 "optimized" { xfail { ! clz } 
} } } */
-- 
2.43.0

Reply via email to