Bug 14939 – dmd slow build of botan library with -inline and -O

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-08-20T08:25:00Z
Last change time
2016-12-22T08:28:44Z
Keywords
performance
Assigned to
nobody
Creator
chalucha

Comments

Comment #0 by chalucha — 2015-08-20T08:25:46Z
Just clone the https://github.com/etcimon/botan library Run dub build --config=32mscoff -b release It takes over 3 minutes to build for me. dmd params are: -m32mscoff -lib -release -inline -O -w if -inline is removed, it builds within 12s. On the linux it is a similar story. DMD version: 2.068.0 OS: Windows 8.1 x86_64
Comment #1 by dlang-bugzilla — 2015-09-01T10:04:59Z
Can you provide a self-contained test case without external dependencies? Can you reduce the problem to a small test case exhibiting the problem? Have you tried older versions of D to see if this is a regression?
Comment #2 by kozzi11 — 2016-12-22T08:28:44Z
*** This issue has been marked as a duplicate of issue 7157 ***