Commit 3d4a2c64 by Aldy Hernandez Committed by Aldy Hernandez

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
parent e9029d55
2018-07-04 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (extract_range_from_binary_expr_1): Initialize
neg_*_op* variables.
2018-07-04 Martin Liska <mliska@suse.cz> 2018-07-04 Martin Liska <mliska@suse.cz>
* tree-switch-conversion.c: Define * tree-switch-conversion.c: Define
......
...@@ -1661,6 +1661,8 @@ extract_range_from_binary_expr_1 (value_range *vr, ...@@ -1661,6 +1661,8 @@ extract_range_from_binary_expr_1 (value_range *vr,
tree sym_max_op1 = NULL_TREE; tree sym_max_op1 = NULL_TREE;
bool neg_min_op0, neg_min_op1, neg_max_op0, neg_max_op1; 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 /* If we have a PLUS or MINUS with two VR_RANGEs, either constant or
single-symbolic ranges, try to compute the precise resulting range, single-symbolic ranges, try to compute the precise resulting range,
but only if we know that this resulting range will also be constant but only if we know that this resulting range will also be constant
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment