From 10dfbcba380912173e19a160ef29f102c06b1fad Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 6 May 2017 12:20:31 -0600 Subject: [PATCH] re PR tree-optimization/78496 (Missed opportunities for jump threading) PR tree-optimization/78496 * tree-vrp.c (simplify_assert_expr_using_ranges): Remove debugging code. From-SVN: r247722 --- gcc/ChangeLog | 4 ++++ gcc/tree-vrp.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f78f2a2ed1..7fb175a7e01 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2017-05-06 Jeff Law + 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. diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 461a48f5c9c..4d2915863e1 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -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); -- 2.30.2