[Issue 15441] New: dmd segfaults using std.experimental.ndslice
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Dec 14 00:25:13 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15441
Issue ID: 15441
Summary: dmd segfaults using std.experimental.ndslice
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: sfrijters at gmail.com
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 ttxfuwiesghpbnlwytfr at forum.dlang.org.
--
More information about the Digitalmars-d-bugs
mailing list