Better error message when too many dynamic objects
This commit is contained in:
parent
71d55ec3b5
commit
dacf8faf6d
|
@ -1,5 +1,5 @@
|
|||
CORE
|
||||
test.c
|
||||
--no-simplify --unwind 300
|
||||
too many variables
|
||||
too many addressed objects
|
||||
--
|
||||
|
|
|
@ -683,7 +683,7 @@ void bv_pointerst::add_addr(const exprt &expr, bvt &bv)
|
|||
std::size_t a=pointer_logic.add_object(expr);
|
||||
|
||||
if(a==(std::size_t(1)<<object_bits))
|
||||
throw "too many variables";
|
||||
throw "too many addressed objects";
|
||||
|
||||
encode(a, bv);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue