--- Comment #27 from Jonathan M Davis <> 2012-10-13 09:16:49 
PDT ---
> I don't see. In the example above( ), the value
in y is 16777216, which is greater than ushort.max.

I thought that I tested that it wasn't, but I guess that I screwed that up,
since upon testing it again, it looks like it indeed is greater than
ushort.max, But what's probably happening then is that x gets promoted to
(u)int for |= per the integral promotion rules and then is fine being
reassigned to x because the result is only 4, which fits in a ushort just fine.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to