patch applied (ghc-6.6/packages/base): Fix crash with (minBound :: Int*) `div (-1) as result is maxBound + 1.

Ian Lynagh <[email protected]> Tue, 16 Jan 2007 16:43:10 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070117004310.GA20273__47150.0943218873$1168994600$gmane$org@cvs.haskell.org>
Mon Jan 15 06:20:05 PST 2007  Ian Lynagh <[email protected]>
  * Fix crash with   (minBound :: Int*) `div (-1)   as result is maxBound + 1.

    M ./GHC/Err.lhs -1 +7
    M ./GHC/Err.lhs-boot -1 +4
    M ./GHC/Int.hs -85 +127
    M ./GHC/Real.lhs -12 +24