From: Aldy Hernandez Date: Wed, 4 Jul 2018 09:03:35 +0000 (+0000) Subject: tree-vrp.c (extract_range_from_binary_expr_1): Initialze neg_*_op* variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d4a2c640842d83a68f98ffe27e124ef12f9849c;p=gcc.git tree-vrp.c (extract_range_from_binary_expr_1): Initialze neg_*_op* variables. * tree-vrp.c (extract_range_from_binary_expr_1): Initialze neg_*_op* variables. From-SVN: r262380 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4d2dbe47e47..5ff16010a0e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-07-04 Aldy Hernandez + + * tree-vrp.c (extract_range_from_binary_expr_1): Initialize + neg_*_op* variables. + 2018-07-04 Martin Liska * tree-switch-conversion.c: Define diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index c966334acbc..65865a7f5b6 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -1661,6 +1661,8 @@ extract_range_from_binary_expr_1 (value_range *vr, tree sym_max_op1 = NULL_TREE; bool neg_min_op0, neg_min_op1, neg_max_op0, neg_max_op1; + neg_min_op0 = neg_min_op1 = neg_max_op0 = neg_max_op1 = false; + /* If we have a PLUS or MINUS with two VR_RANGEs, either constant or single-symbolic ranges, try to compute the precise resulting range, but only if we know that this resulting range will also be constant