Bug 16681 – ICE 1662

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-11-11T12:48:36Z
Last change time
2020-12-28T09:54:43Z
Keywords
SIMD
Assigned to
No Owner
Creator
Илья Ярошенко

Attachments

IDFilenameSummaryContent-TypeSize
17481662.dthe unittest is at the endtext/x-dsrc53466

Comments

Comment #0 by ilyayaroshenko — 2016-11-11T12:48:36Z
The unittest from /++ SIMD Vectors Bugs: ICE 1662 (dmd only) +/ unittest { import core.simd; double2 a = 1, b = 2, c = 3, d = 6; with(Summation) { foreach (algo; AliasSeq!(naive, fast, pairwise, kahan)) { assert([a, b, c].sum!algo.array == d.array); assert([a, b].sum!algo(c).array == d.array); } } }
Comment #1 by ilyayaroshenko — 2016-11-11T12:49:47Z
Comment #2 by bugzilla — 2016-11-22T00:10:41Z
I'm not sure what to do with this. The code fragment is too incomplete to compile (numerous undefined symbols), and the PR was closed.
Comment #3 by b2.temp — 2019-05-30T19:10:58Z
Created attachment 1748 the unittest is at the end
Comment #4 by b2.temp — 2019-05-30T19:11:28Z
not an ICE anymore, maybe a normal bug
Comment #5 by bugzilla — 2020-12-28T09:54:43Z
I get the following when compiling the attachment with -unittest: test2.d(1133): Error: need this for s of type __vector(double[2]) No ICE, so I'm going to mark this as resolved. If there's a further issue with it, please file a new bug report with a minimized example.