We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc535f5 + 917e39b commit 64f48d6Copy full SHA for 64f48d6
src/util/simplify_expr.cpp
@@ -1727,7 +1727,8 @@ simplify_exprt::simplify_byte_extract(const byte_extract_exprt &expr)
1727
const auto update_size = pointer_offset_bits(bu.value().type(), ns);
1728
if(
1729
update_size.has_value() &&
1730
- *offset >= *update_offset * bu.get_bits_per_byte() + *update_size)
+ *offset * expr.get_bits_per_byte() >=
1731
+ *update_offset * bu.get_bits_per_byte() + *update_size)
1732
{
1733
auto tmp = expr;
1734
tmp.op() = bu.op();
0 commit comments