http://d.puremagic.com/issues/show_bug.cgi?id=7423



--- Comment #7 from Adam Wilson <flybo...@gmail.com> 2012-03-19 23:21:16 PDT ---
I initially thought something along the same lines and tried it on a single
statement like so:

x = (cast(unit)((x&0xCCCC_CCCC)>>2)) + (x&0x3333_3333);

No dice.

DMD throws on every Hex literal in druntime/phobos, regardless of usage; hence
the cast(unit) sitting directly in front of the literal itself. Based on the
debugging info that I see, it looks like DMD is internally creating int's out
of hex literals somewhere.

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

Reply via email to