www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13193] New: Extreme slowdown in compilation time of OpenSSL

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

          Issue ID: 13193
           Summary: Extreme slowdown in compilation time of OpenSSL in
                    Tango for optimized build
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: doob me.com

When compiling the OpenSSL module with the -inline and -O flags with DMD
2.065.0 it takes around half a second. With 2.066.0-b5 the same compilation
takes over six minutes. Command used to compile:

dmd -c -I. -inline -O  -of./objs/tango-net-util-cOpenSSL-O--inline--release.o
tango/net/util/c/OpenSSL.d

The file that is compiled is:

https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/net/util/c/OpenSSL.d

--
Jul 22 2014