[PATCH] Disable test inapplicable to RISC-V
Palmer Dabbelt
palmer@dabbelt.com
Fri Mar 17 22:56:00 GMT 2017
From: Andrew Waterman <andrew@sifive.com>
The test is coupled to the branch cost model.
gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/ssa-thread-14.c: Adjust target selector.
---
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
index aa1323a..f12fb07 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { ! { logical_op_short_circuit || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-* } } } } } */
+/* { dg-do compile { target { ! { logical_op_short_circuit || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-* nios2*-*-* riscv*-*-* } } } } } */
/* { dg-additional-options "-O2 -fdump-tree-vrp-details" } */
/* { dg-additional-options "-mbranch-cost=2" { target i?86-*-* x86_64-*-* } } */
/* { dg-final { scan-tree-dump-times "Threaded jump" 8 "vrp1" } } */
--
2.10.2
More information about the Gcc-patches
mailing list