Better error message when too many dynamic objects

This commit is contained in:
Peter Schrammel 2017-07-20 23:49:51 +01:00
parent 71d55ec3b5
commit dacf8faf6d
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
CORE
test.c
--no-simplify --unwind 300
too many variables
too many addressed objects
--

View File

@ -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);
}