aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2019-11-05 09:50:39 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2019-11-05 09:50:39 +0000
commit8f119c559e7f56eb3deac726b32f70e2befaf58d (patch)
treecd490dd53c93b6b91bc8ed05f5282ad41b52ddbb /gcc/range-op.cc
parent16a3a930ce83bc199bdae9c7e98914783c3ef534 (diff)
downloadgcc-8f119c559e7f56eb3deac726b32f70e2befaf58d.zip
gcc-8f119c559e7f56eb3deac726b32f70e2befaf58d.tar.gz
gcc-8f119c559e7f56eb3deac726b32f70e2befaf58d.tar.bz2
Move vrp_set_zero_nonzero_bits from tree-vrp.c into vr-values.c, and make it use wi_set_zero_nonzero_bits.
Move vrp_set_zero_nonzero_bits from tree-vrp.c into vr-values.c, and make it use wi_set_zero_nonzero_bits. Remove the now redundant wide_int_range_set_zero_nonzero_bits. From-SVN: r277818
Diffstat (limited to 'gcc/range-op.cc')
-rw-r--r--gcc/range-op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/range-op.cc b/gcc/range-op.cc
index fc314853..56e8a20 100644
--- a/gcc/range-op.cc
+++ b/gcc/range-op.cc
@@ -1847,7 +1847,7 @@ wi_optimize_and_or (value_range_base &r,
// for all numbers in the range the bit is 1, otherwise it might be 0
// or 1.
-static void
+void
wi_set_zero_nonzero_bits (tree type,
const wide_int &lb, const wide_int &ub,
wide_int &maybe_nonzero,