[Issue 10905] [ICE](ctfeexpr.c line 355) with ulong2 in structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 10 02:04:55 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=10905



--- Comment #9 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-12-10 02:01:53 PST ---
One thing to note is that the result of a vector == comparison would not be a
boolean.

import core.simd;

int4 a = [1,2,3,4];
int4 b = [3,2,1,4];

if (a == b) { } // Error: vector comparison returning a boolean.

int4 c = (a == b);
assert(c.array = [0, -1, 0, -1]);

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list