From: Jeff Law Date: Sat, 6 May 2017 18:20:31 +0000 (-0600) Subject: re PR tree-optimization/78496 (Missed opportunities for jump threading) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10dfbcba380912173e19a160ef29f102c06b1fad;p=gcc.git 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 --- 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);