Tweak RULEs; fixes #7041
authorIan Lynagh <igloo@earth.li>
Fri, 13 Jul 2012 18:51:08 +0000 (19:51 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 13 Jul 2012 18:51:08 +0000 (19:51 +0100)
commita07f118c08ac5fd5923b6e0b2c994f4185121604
treeae6bc3256afaa2b4a75bc054fc78c6f5016cb139
parent2bb79b67457923d5c61d1132b3b51303af7ebaab
Tweak RULEs; fixes #7041

In particular, the gcd rule now uses smallInteger rather than S#, which
means that it actually fires.

Also fixed a bug when the result is minBound :: Int.
GHC/Integer/Type.lhs