www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21499] New: Backref mangling implementation causes OOM in


          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
void dorecursive()

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