Use logical_op_short_circuit to skip targets in ssa-thread-14.c.
authorToma Tabacu <toma.tabacu@imgtec.com>
Fri, 24 Feb 2017 11:03:12 +0000 (11:03 +0000)
committerToma Tabacu <tomtab@gcc.gnu.org>
Fri, 24 Feb 2017 11:03:12 +0000 (11:03 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c

index 9425a0d9c71cc5b83ef28d0826d6c2ec7a1edd4f..99aefd184d1df35eb5fc72c50f68db30f33a5686 100644 (file)
@@ -1,3 +1,10 @@
+2017-02-24  Toma Tabacu  <toma.tabacu@imgtec.com>
+
+       * 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  <ebotcazou@adacore.com>
 
        * gnat.dg/opt63.adb: New test.
index c754b5b469dcf8ad067712b0bdad53928b28c9e3..aa1323a2cf3811d315c975a31043f3296d07c17a 100644 (file)
@@ -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);