add casArray# primop, similar to casMutVar# but for array elements
Tweak stg_casArrayzh as per Simon Marlow's suggestion.
Update stg_casArrayzh to conform to new CMM conventions.
Add PrimOp: casIntArray#.  Modify casMutVar# for 'ticketed' style.
Add PrimOp fetchAddIntArray# plus supporting C function atomic_inc_by.
Eliminate atomic_inc_by and instead medofiy atomic_inc.
minor bugfix to casIntArray# and fetchAddIntArray#
Display the full type environment when reporting type holes

This fixes Trac #8191.

The patch also adds and documents a new flag -fmax-relevant-bindings=N
which lets you control how many bindings in the type environment are shown.
Improve debug error message for applyTypeToArgs
Improve TcSimplify.approximateWC, fixing Trac #8155

See Note [ApproximateWC]
Refactor to avoid gratuitous DEBUG warning
Improve docs for -XNegativeLiterals
simplified the .hi format and added the -flate-dmd-anal flag (fixes #7782)

cf http://ghc.haskell.org/trac/ghc/wiki/LateDmd
Document :kind! in ghci built-in help

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Check for integer overflow in osGetMBlocks

Fixes Trac #5188.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Paranoid integer overflow check in my_mmap

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Paranoid integer overflow check in osGetMBlocks

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Revert "Paranoid integer overflow check in osGetMBlocks"

This reverts commit 1247dff7b852d45dc5006ae8be33ac991cc76c74.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Revert "Paranoid integer overflow check in my_mmap"

This reverts commit 1ce65edbff90fc8103062a1f94258ecc0c682309.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Revert "Check for integer overflow in osGetMBlocks"

This reverts commit 48865521de6638240819b3979edbb3d33401dc8e.

Signed-off-by: Austin Seipp <aseipp@pobox.com>