gcc/ChangeLog:
PR tree-optimization/115026
* value-range.cc (prange::update_bitmask): Use operand bitmask.
---
gcc/value-range.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/value-range.cc b/gcc/value-range.cc
index 3e1ecf69517..5bcb2c3f650 100644
--- a/gcc/value-range.cc
+++ b/gcc/value-range.cc
@@ -686,7 +686,7 @@ prange::update_bitmask (const irange_bitmask &bm)
// If all the bits are known, this is a singleton.
if (bm.mask () == 0)
{
- set (type (), m_bitmask.value (), m_bitmask.value ());
+ set (type (), bm.value (), bm.value ());
return;
}
--
2.45.0