patch applied (ghc-6.6/ghc): Fix mulIntMayOflo on 64-bit arches; fixes trac #867

Ian Lynagh igloo at earth.li
Wed Sep 27 21:19:35 EDT 2006


Wed Sep 27 17:48:06 PDT 2006  Ian Lynagh <igloo at earth.li>
  * Fix mulIntMayOflo on 64-bit arches; fixes trac #867
  We were assuming we could multiply 2 32-bit numbers without overflowing
  a 64-bit number, but we can't as the top bit is the sign bit.

    M ./includes/Stg.h -1 +3


More information about the Cvs-ghc mailing list