[project @ 2001-09-24 00:22:59 by ken]
authorken <unknown>
Mon, 24 Sep 2001 00:22:59 +0000 (00:22 +0000)
committerken <unknown>
Mon, 24 Sep 2001 00:22:59 +0000 (00:22 +0000)
commit20a40906837a041d8c3c620869ab19a2d12b1152
tree7a9f736b7b2f14fb7eb01d7394fa1cb800e4f8bb
parenta5840900804a5e44e13c35c0acc9bb11d65d0da5
[project @ 2001-09-24 00:22:59 by ken]
Fix a bug with arithmetic primops on platforms where StgInt is not int,
such as the 64-bit Alpha.  The bug is that, for example,

    1# `iShiftL#` 32#

returns zero rather than 2^32.  The reason is that we should cast the
macro arguments to I_ in the definition of iShiftL#, but did not.

MERGE TO STABLE
ghc/includes/PrimOps.h