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 0f78f2a2ed1e6132bc6184474d3a27624b7413be..7fb175a7e0120ffd8c7a88babfa7c766aeb722c6 100644 (file)
@@ -1,5 +1,9 @@
 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.
index 461a48f5c9c734bd674319cb220a3256ead57f99..4d2915863e1224d31c81b425f95a27d32e3edf0c 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);