Changes to ghc(6) base(3)

Changes to ghc:
commit ea6dcef1d9800953b1791304d52884359f415ad9
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:24:49 2014 +0000

    Test Trac #8832

    The test is a bit crude; -ddump-simpl | grep '#'.

    I'm concerned that the -ddump-simpl output may differ on 32 and 64-bit
    platforms.  So far I've only put in output for 64-bit platforms.

commit 8fd7d581da448d81fc2f9d47366c36c5f57ed564
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:15:52 2014 +0000

    Add BuiltinRules for constant-folding not# and notI# (logical complement)

    I don't know why these constant-folding rules were implemented for
    and/or/xor but not for 'not'.

    Adding them is part of the fix for Trac #8832.
    (The other part is in Data.Bits.)

commit 7ef90e3a4d1e043ebb574b05c8da0d4148ed297b
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:14:11 2014 +0000

    Comments only

commit 60bbc0af79ddfe977d93e271b57c2bc25d3fcde6
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:13:49 2014 +0000

    Export runTcInteractive from TcRnDriver, and from GHC (Trac #8878)

commit b34068144ec3d7bfe4279b16ad16d54dd46f1c5a
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 08:36:28 2014 +0000

    A bit more tracing to do with SPECIALISE pragmas

commit b0416e776d2959ac8b9903eb9301b7b967c53a8e
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Tue Mar 11 13:09:21 2014 +0000

    Comments on virtHp, realHp (Trac #8864)

    Documentation in response to Johan's questions

    Plus, don't export hpRel from StgCmmHeap, StgCmmLayout
      (it is only used locally in StgCmmLayout)

Changes to base:
commit b2dce687bd5d1f568fa7ef50ee201310ee24fe80
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:12:53 2014 +0000

    Use not# rather than (`xor#` (-1)) for complement

    I'm not sure why we weren't using not# before; maybe it wasn't
    a primpop at that stage?  Strange.

commit f109bb03353dd81a1fa2820de3a199e3e5841ee0
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:11:36 2014 +0000

    Comments only, about the "RA" and "RL" nomenclature for shifts

commit f7a7b586bc89ca7fd56792da4172bd93a2acdae9
Author: Simon Peyton Jones <simonpj@microsoft.com>
Date:   Thu Mar 13 12:11:01 2014 +0000

    Add shiftR and shiftL implementations to instance Bits Integer

    Apart from simply making sense (avoid the conditional in 'shift'),
    this makes left and right shifts on Integer more likely to inline
    (plain 'shift' is just too large); and this in turn is important
    when fixing the Integer case of #8832