diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2024-05-10 12:26:49 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2024-05-10 16:57:05 +0200 |
commit | cbd420a1c3e2bb549dc83b53cc9a31aa6b23952c (patch) | |
tree | 6409e82a0a4d0ecf09fa7fdbdbe962f6446b57f2 /gcc | |
parent | 34d15a4d630a0d54eddb99bdab086c506e10dac5 (diff) | |
download | gcc-cbd420a1c3e2bb549dc83b53cc9a31aa6b23952c.zip gcc-cbd420a1c3e2bb549dc83b53cc9a31aa6b23952c.tar.gz gcc-cbd420a1c3e2bb549dc83b53cc9a31aa6b23952c.tar.bz2 |
[prange] Fix thinko in prange::update_bitmask() [PR115026]
gcc/ChangeLog:
PR tree-optimization/115026
* value-range.cc (prange::update_bitmask): Use operand bitmask.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/value-range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 3e1ecf6..5bcb2c3f 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; } |