[Bug 171] >>>= broken with short integers

2015-01-17 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=171 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug 171] >>>= broken with short integers

2015-01-17 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=171 Iain Buclaw changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail b

[Bug 171] >>>= broken with short integers

2015-01-17 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=171 --- Comment #1 from Iain Buclaw --- Problem is that in the operation: a = a >> 1; 'a' is promoted to an unsigned integer for normal operations before the final result being downcasted back. So we get the following sequence. a => -1

[Bug 171] New: >>>= broken with short integers

2015-01-17 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=171 Bug ID: 171 Summary: >>>= broken with short integers Product: GDC Version: development Hardware: All OS: All Status: NEW Severity: normal Priori