re PR tree-optimization/78496 (Missed opportunities for jump threading)
authorJeff Law <law@redhat.com>
Sat, 6 May 2017 18:20:31 +0000 (12:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Sat, 6 May 2017 18:20:31 +0000 (12:20 -0600)
PR tree-optimization/78496
* tree-vrp.c (simplify_assert_expr_using_ranges): Remove debugging
code.

From-SVN: r247722

gcc/ChangeLog
gcc/tree-vrp.c

index 0f78f2a..7fb175a 100644 (file)
@@ -1,6 +1,10 @@
 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
index 461a48f..4d29158 100644 (file)
@@ -9608,7 +9608,6 @@ range_fits_type_p (value_range *vr, unsigned dest_precision, signop dest_sgn)
 static bool
 simplify_assert_expr_using_ranges (gimple *stmt)
 {
-  return false;
   tree cond = TREE_OPERAND (gimple_assign_rhs1 (stmt), 1);
   tree_code code = TREE_CODE (cond);
   tree op0 = TREE_OPERAND (cond, 0);