We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents baef5a3 + 062bc0c commit 0e96666Copy full SHA for 0e96666
regression/cbmc/union13/no-arch.desc
@@ -1,4 +1,4 @@
1
-CORE broken-smt-backend
+CORE
2
main.c
3
--arch none --little-endian
4
(Starting CEGAR Loop|^Generated 1 VCC\(s\), 1 remaining after simplification$)
src/solvers/smt2/smt2_conv.cpp
@@ -3318,8 +3318,14 @@ void smt2_convt::convert_constant(const constant_exprt &expr)
3318
<< ")";
3319
}
3320
else
3321
- UNEXPECTEDCASE(
3322
- "unknown pointer constant: " + id2string(expr.get_value()));
+ {
+ // just treat the pointer as a bit vector
3323
+ const std::size_t width = boolbv_width(expr_type);
3324
+
3325
+ const mp_integer value = bvrep2integer(expr.get_value(), width, false);
3326
3327
+ out << "(_ bv" << value << " " << width << ")";
3328
+ }
3329
3330
else if(expr_type.id()==ID_bool)
3331
{
0 commit comments