Skip to content

Commit 4701c0b

Browse files
author
Owen Jones
committed
Change two errors to warnings
Make "Infinite size arrays not supported" and "Failed to concretize variable array" warnings rather than errors.
1 parent 2d97393 commit 4701c0b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/goto-programs/interpreter.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,7 @@ typet interpretert::concretize_type(const typet &type)
894894
}
895895
else
896896
{
897-
error() << "Failed to concretize variable array"
898-
<< eom;
897+
warning() << "Failed to concretize variable array" << eom;
899898
}
900899
}
901900
return type;

src/goto-programs/interpreter_evaluate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ void interpretert::evaluate(
10541054
{
10551055
if(expr.type().id()==ID_signedbv)
10561056
{
1057-
error() << "Infinite size arrays not supported" << eom;
1057+
warning() << "Infinite size arrays not supported" << eom;
10581058
return;
10591059
}
10601060
}

0 commit comments

Comments
 (0)