Fix more nocode_wanted jump problems

In statement expression we really mustn't emit backward jumps
under nocode_wanted (they will form infinte loops as no expressions
are evaluated).  Do-while and explicit loop with gotos weren't
handled.
This commit is contained in:
Michael Matz
2016-09-04 05:17:08 +02:00
parent f2a071e808
commit 1602998751
3 changed files with 46 additions and 4 deletions

View File

@ -7,4 +7,8 @@ timeout=2
timeout=1
timeout=2
timeout=1
timeout=2
timeout=1
timeout=2
timeout=1
end