We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8161f10 + 7431039 commit 62d0223Copy full SHA for 62d0223
src/goto-symex/symex_goto.cpp
@@ -102,6 +102,17 @@ void goto_symext::symex_goto(statet &state)
102
new_state_pc=goto_target;
103
state_pc=state.source.pc;
104
state_pc++;
105
+
106
+ // skip dead instructions
107
+ if(new_guard.is_true())
108
+ while(state_pc!=goto_target && !state_pc->is_target())
109
+ ++state_pc;
110
111
+ if(state_pc==goto_target)
112
+ {
113
+ state.source.pc=goto_target;
114
+ return; // nothing else to do
115
+ }
116
}
117
else
118
{
0 commit comments