Actions
Bug #20572
closedCompilation hangs with nested until
Description
until while 1
end
end
this code causes an infinite loop in the compiler.
Updated by nobu (Nobuyoshi Nakada) 6 months ago
Since ruby --dump=i,-opt -e 'until while 1; end; end'
finishes immediately, it is a bug of optimization.
Updated by kddnewton (Kevin Newton) 6 months ago
This is another example, I imagine because of the same source problem. It also works if you disable optimizations:
_ = _ rescue while 1
end
Updated by nobu (Nobuyoshi Nakada) 6 months ago
- Status changed from Open to Closed
Applied in changeset git|32a555ea532fb15721ad403e6dce0a2ffc346f12.
[Bug #20572] Abandon if replacing destination is the same
Actions
Like0
Like0Like0Like0