revert: re PR tree-optimization/78496 (Missed opportunities for jump threading)
authorJeff Law <law@redhat.com>
Sun, 7 May 2017 15:10:55 +0000 (09:10 -0600)
committerJeff Law <law@gcc.gnu.org>
Sun, 7 May 2017 15:10:55 +0000 (09:10 -0600)
commit8637c116c5683c55157faae65db93c3ebf973cab
tree1607907c7ebee729b63c3e46bcaa83a4ea9c1b68
parent9267267a3d54fee843f2610caf426265783be1b8
revert: re PR tree-optimization/78496 (Missed opportunities for jump threading)

2017-05-07  Jeff Law  <law@redhat.com>

Revert:
2017-05-06  Jeff Law  <law@redhat.com>
PR tree-optimization/78496
* tree-vrp.c (simplify_assert_expr_using_ranges): Remove debugging
code.

PR tree-optimization/78496
* tree-vrp.c (simplify_assert_expr_using_ranges): New function.
(simplify_stmt_using_ranges): Call it.
(vrp_dom_walker::before_dom_children): Extract equivalences
from an ASSERT_EXPR with an equality comparison against a
constant.

Revert:
2017-05-06  Jeff Law  <law@redhat.com>
PR tree-optimization/78496
* gcc.dg/tree-ssa/ssa-thread-16.c: New test.
* gcc.dg/tree-ssa/ssa-thread-17.c: New test.

From-SVN: r247727
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-16.c [deleted file]
gcc/testsuite/gcc.dg/tree-ssa/ssa-thread-17.c [deleted file]
gcc/tree-vrp.c