aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2018-07-04 08:04:55 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2018-07-04 08:04:55 +0000
commit6e38deee4659d87d57e54a869d546dc01cf733cc (patch)
tree07d7b8338132b747ba58b807381bbfe397226474
parent175b7dd42a00f57f175e2a0b79c4a10913a98971 (diff)
downloadgcc-6e38deee4659d87d57e54a869d546dc01cf733cc.zip
gcc-6e38deee4659d87d57e54a869d546dc01cf733cc.tar.gz
gcc-6e38deee4659d87d57e54a869d546dc01cf733cc.tar.bz2
ssa-dom-thread-7.c: Adjust test because aarch64 has a slightly different IL that provides more...
* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust test because aarch64 has a slightly different IL that provides more threading opportunities. From-SVN: r262377
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 930215d..6c5efa4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2018-07-04 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust test because aarch64
+ has a slightly different IL that provides more threading
+ opportunities.
+
2018-07-04 Martin Liska <mliska@suse.cz>
PR middle-end/66240
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c
index 9ee8d12..e395de2 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c
@@ -2,11 +2,16 @@
/* { dg-options "-O2 -fdump-tree-thread1-stats -fdump-tree-thread2-stats -fdump-tree-dom2-stats -fdump-tree-thread3-stats -fdump-tree-dom3-stats -fdump-tree-vrp2-stats -fno-guess-branch-probability" } */
/* { dg-final { scan-tree-dump "Jumps threaded: 16" "thread1" } } */
/* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" } } */
-/* { dg-final { scan-tree-dump "Jumps threaded: 3" "thread3" } } */
/* { dg-final { scan-tree-dump "Jumps threaded: 1" "dom2" } } */
/* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" } } */
/* { dg-final { scan-tree-dump-not "Jumps threaded" "vrp2" } } */
+/* Most architectures get 3 threadable paths here, whereas aarch64 and
+ possibly others get 5. We really should rewrite threading tests to
+ test a specific IL sequence, not gobs of code whose IL can vary
+ from architecture to architecture. */
+/* { dg-final { scan-tree-dump "Jumps threaded: \[35\]" "thread3" } } */
+
enum STATE {
S0=0,
SI,