Bug 15441 – dmd segfaults using std.experimental.ndslice
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-12-14T08:25:00Z
Last change time
2016-03-19T20:21:27Z
Keywords
ice, pull
Assigned to
nobody
Creator
sfrijters
Comments
Comment #0 by sfrijters — 2015-12-14T08:25:13Z
Using the 0.8.3 dub version of std.experimental.ndslice, dmd 2.069.1 segfaults on the following reduced code:
import std.experimental.ndslice;
void main() {
Slice!(3, double*) force = new double[60].sliced(3, 4, 5);
// Wrong foreach params. dmd failed with exit code -11.
foreach(p, e; force)
{
}
}
See also [email protected].
Comment #1 by john.loughran.colvin — 2015-12-14T09:35:28Z