I ran into this unused function declaration in
ipcp_bits_lattice::get_value_and_mask. I found it strange, but it's
probably just left over from some other version of the bit propagation
patch, since the git blame on it is 10 years old.
Pushing as obvious.
gcc/ChangeLog:
* ipa-cp.cc (ipcp_bits_lattice::get_value_and_mask): Remove
unused declaration.
Signed-off-by: Josef Melcr <[email protected]>
---
gcc/ipa-cp.cc | 2 --
1 file changed, 2 deletions(-)
diff --git a/gcc/ipa-cp.cc b/gcc/ipa-cp.cc
index 76d3b0decda..b07476afe40 100644
--- a/gcc/ipa-cp.cc
+++ b/gcc/ipa-cp.cc
@@ -971,8 +971,6 @@ ipcp_bits_lattice::set_recipient_only ()
void
ipcp_bits_lattice::get_value_and_mask (tree operand, widest_int *valuep,
widest_int *maskp)
{
- wide_int get_nonzero_bits (const_tree);
-
if (TREE_CODE (operand) == INTEGER_CST)
{
*valuep = wi::to_widest (operand);
--
2.56.0