From: Toma Tabacu Date: Fri, 24 Feb 2017 11:03:12 +0000 (+0000) Subject: Use logical_op_short_circuit to skip targets in ssa-thread-14.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2af8fd5cdf8a3cb05399af976d6048ef5afa99a8;p=gcc.git Use logical_op_short_circuit to skip targets in ssa-thread-14.c. gcc/testsuite/ * gcc.dg/tree-ssa/ssa-thread-14.c (dg-options): Use logical_op_short_circuit to skip targets. (dg-additional-options): Don't pass -mbranch-cost=2 for MIPS, AVR and s390. From-SVN: r245711 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9425a0d9c71..99aefd184d1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-02-24 Toma Tabacu + + * gcc.dg/tree-ssa/ssa-thread-14.c (dg-options): Use + logical_op_short_circuit to skip targets. + (dg-additional-options): Don't pass -mbranch-cost=2 for MIPS, AVR + and s390. + 2017-02-24 Eric Botcazou * gnat.dg/opt63.adb: New test. 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 c754b5b469d..aa1323a2cf3 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c @@ -1,6 +1,6 @@ -/* { dg-do compile { target { ! { 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*-*-* } } } } } */ /* { dg-additional-options "-O2 -fdump-tree-vrp-details" } */ -/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */ +/* { dg-additional-options "-mbranch-cost=2" { target i?86-*-* x86_64-*-* } } */ /* { dg-final { scan-tree-dump-times "Threaded jump" 8 "vrp1" } } */ void foo (void);