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); } } }
PR https://github.com/dlang/phobos/pull/4896
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.
Created attachment 1748 [details] the unittest is at the end
not an ICE anymore, maybe a normal bug
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.