Skip to content

Commit 6a894c3

Browse files
authored
Merge pull request #280 from boriel/bugfix/nextbuild_crash_o3
Fix crash with -O3
2 parents 63e3562 + 59ced23 commit 6a894c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/zx48k/optimizer/basicblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def update_goes_and_comes(self):
330330
bb = stack.pop(0)
331331
while True:
332332
if bb is None:
333-
DummyBasicBlock(ALL_REGS, ALL_REGS)
333+
bb = DummyBasicBlock(ALL_REGS, ALL_REGS)
334334

335335
if bb in bbset:
336336
break

0 commit comments

Comments
 (0)