[Issue 19223] New: core.simd __vector.array compiler crash
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 5 08:39:17 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19223
Issue ID: 19223
Summary: core.simd __vector.array compiler crash
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: n8sh.secondary at hotmail.com
Following code crashes during compilation:
https://run.dlang.io/is/FqDzFp
---
int sum(const int[4] val)
{
int sum = 0;
foreach (x; val) sum += x;
return sum;
}
void main()
{
import core.simd : int4;
auto x = sum(int4.init.array);
}
---
--
More information about the Digitalmars-d-bugs
mailing list