digitalmars.D.bugs - [Issue 21499] New: Backref mangling implementation causes OOM in
- d-bugmail puremagic.com (32/32) Dec 22 2020 https://issues.dlang.org/show_bug.cgi?id=21499
https://issues.dlang.org/show_bug.cgi?id=21499 Issue ID: 21499 Summary: Backref mangling implementation causes OOM in some edge cases Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ibuclaw gdcproject.org This PR https://github.com/dlang/dmd/pull/6998 Altered the original fail12485.d test, as it now only fails to compile due to OOM. --- void dorecursive() { recursive([0]); } void recursive(R)(R r) { import std.algorithm; recursive( r.filter!(e=>true) ); } --- Test needs reducing to not import phobos, but otherwise there should be no reason why a slowdown in compilation should occur (or infinite recursion?), nor should it be causing OOM either. --
Dec 22 2020