Skip to content

Commit 5e1637b

Browse files
one-off L1 renaming bug fixed
1 parent ba2d4be commit 5e1637b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/goto-symex/symex_function_call.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Author: Daniel Kroening, [email protected]
66
77
\*******************************************************************/
88

9-
#include <iostream>
109
#include <cassert>
1110
#include <iostream>
1211

@@ -495,7 +494,8 @@ void goto_symext::locality(
495494

496495
while(state.l1_history.find(l1_name)!=state.l1_history.end())
497496
{
498-
state.level1.increase_counter(l0_name);
497+
if(offset>0)
498+
state.level1.increase_counter(l0_name);
499499
ssa.set_level_1(frame_nr+offset);
500500
l1_name=ssa.get_identifier();
501501
++offset;

0 commit comments

Comments
 (0)