www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21121] New: Optimizer slowdowns


          Issue ID: 21121
           Summary: Optimizer slowdowns
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: schveiguy yahoo.com
        Depends on: 6401, 7157, 17135, 18221, 21111

There are various reports of the optimizer slowing down compilation in a
seemingly pathological way. This is an aggregate report to collect all those.

Referenced Issues:

[Issue 6401] infinite loop with -inline in gflow.c:accumaecpx
[Issue 7157] Optimiser is O(n^2) w.r.t. function length
[Issue 17135] Optimization of big functions takes a lot of time
[Issue 18221] DMD64 2.078.0 compile time explodes with -inline (>4X)
[Issue 21111] One pragma(inline, true) introduction increases phobos build time
by 10x
Aug 05 2020