Skip to content

Commit 2cd95d0

Browse files
author
kroening
committed
visit all locations at least once
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@3866 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
1 parent db32ee5 commit 2cd95d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/analyses/ai.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ bool ai_baset::fixedpoint(
183183

184184
working_sett working_set;
185185

186-
put_in_working_set(
187-
working_set,
188-
goto_program.instructions.begin());
186+
// We will put all locations at least once into the working set.
187+
forall_goto_program_instructions(i_it, goto_program)
188+
put_in_working_set(working_set, i_it);
189189

190190
bool new_data=false;
191191

0 commit comments

Comments
 (0)