File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
jbmc/regression/jbmc/JumpSimplification Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- KNOWNBUG
1
+ CORE
2
2
Test.class
3
3
--show-goto-functions --function Test.foo
4
4
activate-multi-line-match
Original file line number Diff line number Diff line change @@ -1460,8 +1460,10 @@ void goto_convertt::convert_goto(
1460
1460
const codet &code,
1461
1461
goto_programt &dest)
1462
1462
{
1463
- // this instruction will turn into a goto during post-processing
1464
- goto_programt::targett t=dest.add_instruction (NO_INSTRUCTION_TYPE);
1463
+ // this instruction will be completed during post-processing
1464
+ // it is required to mark this as GOTO in order to enable
1465
+ // simplifications in generate_ifthenelse
1466
+ goto_programt::targett t = dest.add_instruction (GOTO);
1465
1467
t->source_location =code.source_location ();
1466
1468
t->code =code;
1467
1469
You can’t perform that action at this time.
0 commit comments