Skip to content

Commit c33266a

Browse files
committed
Fix order of operands in extractbits_exprt
This constructor had not been used thus far, thus this bug had gone unnoticed.
1 parent d27ffe5 commit c33266a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/std_expr.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,7 @@ class extractbits_exprt:public exprt
23152315
const exprt &_lower,
23162316
const typet &_type):exprt(ID_extractbits, _type)
23172317
{
2318-
copy_to_operands(_src, _lower, _upper);
2318+
copy_to_operands(_src, _upper, _lower);
23192319
}
23202320

23212321
extractbits_exprt(

0 commit comments

Comments
 (0)