aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-06-03 17:12:39 -0600
committerJeff Law <law@gcc.gnu.org>2016-06-03 17:12:39 -0600
commit08bbb1f8bd4ec6395c1d9a05b6a009a1d7b83884 (patch)
tree2b9a2d2d84cb506b17d10d3358a4cc9896c0aa2f /gcc
parent7c35235c321681ffc6752e8e29e3db374166108d (diff)
downloadgcc-08bbb1f8bd4ec6395c1d9a05b6a009a1d7b83884.zip
gcc-08bbb1f8bd4ec6395c1d9a05b6a009a1d7b83884.tar.gz
gcc-08bbb1f8bd4ec6395c1d9a05b6a009a1d7b83884.tar.bz2
re PR tree-optimization/71316 (test case gcc.dg/tree-ssa/ssa-dom-thread-4.c fails starting with r236831)
PR tree-optimization/71316 * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Update expected output. From-SVN: r237083
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c9
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1a80a9c..cd45cda 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-03 Jeff Law <law@redhat.com>
+
+ PR tree-optimization/71316
+ * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Update expected output.
+
2016-06-03 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/vect/vect-live-1.c: Remove dg-options. Add
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c
index 4258fb5..2dd9177 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-tree-dom2-details -std=gnu89" } */
+/* { dg-options "-O2 -fdump-tree-vrp1-details -fdump-tree-dom2-details -std=gnu89" } */
struct bitmap_head_def;
typedef struct bitmap_head_def *bitmap;
typedef const struct bitmap_head_def *const_bitmap;
@@ -76,8 +76,7 @@ bitmap_ior_and_compl (bitmap dst, const_bitmap a, const_bitmap b,
skipping the known-true "b_elt && kill_elt" in the second
condition.
- However, 3 of those 4 opportunities are ultimately eliminated by
- DOM optimizing away conditionals. So there's only one jump threading
- opportunity left. */
-/* { dg-final { scan-tree-dump-times "Threaded" 1 "dom2" { target logical_op_short_circuit } } } */
+ The !b_elt cases are picked up by VRP1 as jump threads. The others
+ are optimized by DOM. */
+/* { dg-final { scan-tree-dump-times "Threaded" 2 "vrp1" { target logical_op_short_circuit } } } */