diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2005-12-27 08:16:12 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-12-27 08:16:12 +0000 |
commit | dec2f8810bf2a30c8fa8d0714074df10dc04bc5c (patch) | |
tree | 92ff3be730e0902999f3ce7ca7561f06ccc96a13 /gcc/tree-vrp.c | |
parent | 3b2db49f369d82be920b0614b0edaef405efb8ae (diff) | |
download | gcc-dec2f8810bf2a30c8fa8d0714074df10dc04bc5c.zip gcc-dec2f8810bf2a30c8fa8d0714074df10dc04bc5c.tar.gz gcc-dec2f8810bf2a30c8fa8d0714074df10dc04bc5c.tar.bz2 |
tree-vrp.c (extract_range_from_binary_expr): Use build_int_cst instead of fold_convert.
* tree-vrp.c (extract_range_from_binary_expr): Use
build_int_cst instead of fold_convert.
From-SVN: r109078
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r-- | gcc/tree-vrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index b950386..9254fbc 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -1421,7 +1421,7 @@ extract_range_from_binary_expr (value_range_t *vr, tree expr) && tree_expr_nonnegative_p (vr0.max) && TREE_CODE (vr0.max) == INTEGER_CST) { - min = fold_convert (TREE_TYPE (expr), integer_zero_node); + min = build_int_cst (TREE_TYPE (expr), 0); max = vr0.max; } else if (vr1.type == VR_RANGE @@ -1430,7 +1430,7 @@ extract_range_from_binary_expr (value_range_t *vr, tree expr) && TREE_CODE (vr1.max) == INTEGER_CST) { type = VR_RANGE; - min = fold_convert (TREE_TYPE (expr), integer_zero_node); + min = build_int_cst (TREE_TYPE (expr), 0); max = vr1.max; } else |