Bug 10865 – dmd crashes with "-release -inline -noboundscheck"
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-08-21T10:19:00Z
Last change time
2013-08-21T11:46:17Z
Assigned to
nobody
Creator
zan77137
Comments
Comment #0 by zan77137 — 2013-08-21T10:19:50Z
This code crashes dmd with "-release -inline -noboundscheck" switches:
----
import std.stdio;
----
$ dmd -c -release -inline -noboundscheck main
P:\app\dmd\bin\..\import\std\array.d: Error: function std.array.Appender!
(const(wchar)[]).Appender.Data.__xopEquals errors compiling the function
Comment #1 by bearophile_hugs — 2013-08-21T11:46:17Z
*** This issue has been marked as a duplicate of issue 10836 ***