← Back to index
|
Original Bugzilla link
Bug 19629 – [CTFE][SIMD] Error: cannot determine length of `cast(__vector(int[4]))0` at compile time
Status
RESOLVED
Resolution
WORKSFORME
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-28T23:31:44Z
Last change time
2020-03-21T03:56:39Z
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2019-01-28T23:31:44Z
enum int4 E5 = int4(0); enum int[4] E6 = int4(0).array; enum int[4] E8 = cast(int[4])int4(0).array; enum v5 = E5[0]; enum v6 = E6[0]; enum v8 = E8[0];
Comment #1
by ibuclaw — 2019-03-12T22:14:31Z
Doesn't happen with gdc, possibly because of this patch.
https://github.com/dlang/dmd/pull/7065
Comment #2
by b2.temp — 2019-07-11T00:38:19Z
works since 2.085