aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToma Tabacu <toma.tabacu@imgtec.com>2017-02-24 11:03:12 +0000
committerToma Tabacu <tomtab@gcc.gnu.org>2017-02-24 11:03:12 +0000
commit2af8fd5cdf8a3cb05399af976d6048ef5afa99a8 (patch)
treeb6eb312b4c088fda5bed1555f76d3af2c659f40c
parent741bd9b135cf2f8e123a41dea93d8bb20c3e0ae9 (diff)
downloadgcc-2af8fd5cdf8a3cb05399af976d6048ef5afa99a8.zip
gcc-2af8fd5cdf8a3cb05399af976d6048ef5afa99a8.tar.gz
gcc-2af8fd5cdf8a3cb05399af976d6048ef5afa99a8.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-14.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9425a0d..99aefd1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
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 c754b5b..aa1323a 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);