summaryrefslogtreecommitdiff
path: root/docs/users_guide/using.rst
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2018-09-26 04:29:19 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2018-09-26 04:41:56 +0100
commitd25fa45e377253cfbe26e410075dda9d58bb869c (patch)
tree4ff57158c78b82c10b212bc319f660060106c530 /docs/users_guide/using.rst
parent4bdb10ca7ba14f00dd62270eadab4f93238227bc (diff)
downloadhaskell-d25fa45e377253cfbe26e410075dda9d58bb869c.tar.gz
Fix constant-folding for Integer shifts
In this patch commit 869f69fd4a78371c221e6d9abd69a71440a4679a Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Wed Dec 11 18:19:34 2013 +0000 Guarding against silly shifts we deal with silly shifts like (Sll 1 9223372036854775807). But I only dealt with primops that Int# and Word#. Alas, the same problem affects shifts of Integer, as Trac #15673 showed. Fortunately, the problem is easy to fix.
Diffstat (limited to 'docs/users_guide/using.rst')
0 files changed, 0 insertions, 0 deletions