stage2: high memory use with trivial loops at comptime #12493
Labels
bug
Observed behavior contradicts documented or intended behavior
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Zig Version
0.10.0-dev.3620+7d674d5fb
Steps to Reproduce
zig test bug.zig -fno-stage1
Expected Behavior
Constant memory use for the loop given that the loop is trivial.
Actual Behavior
Reached 20G in memory use (had to stop it before it reached OOM)
The text was updated successfully, but these errors were encountered: