www.digitalmars.com         C & C++   DMDScript  

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

https://issues.dlang.org/show_bug.cgi?id=21121

          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:

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