Bug 12431 – SIMD vector in struct ICE

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-21T07:17:00Z
Last change time
2015-06-09T05:14:54Z
Assigned to
nobody
Creator
john.loughran.colvin

Comments

Comment #0 by john.loughran.colvin — 2014-03-21T07:17:28Z
import core.simd; import std.stdio; struct A { float4 x; } void main() { A a; writeln(a.x.array); } Internal error: e2ir.c 90
Comment #1 by john.loughran.colvin — 2014-12-18T22:52:23Z
This seems to have been fixed somewhere along the line, works for me in git HEAD.