diff options
Diffstat (limited to 'gcc/fold-const.cc')
-rw-r--r-- | gcc/fold-const.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fold-const.cc b/gcc/fold-const.cc index 7d2352d..db54bfc 100644 --- a/gcc/fold-const.cc +++ b/gcc/fold-const.cc @@ -10882,8 +10882,7 @@ expr_not_equal_to (tree t, const wide_int &w) else get_global_range_query ()->range_of_expr (vr, t); - if (!vr.undefined_p () - && !vr.contains_p (wide_int_to_tree (TREE_TYPE (t), w))) + if (!vr.undefined_p () && !vr.contains_p (w)) return true; /* If T has some known zero bits and W has any of those bits set, then T is known not to be equal to W. */ |