diff --git a/ghc/lib/std/PrelNum.lhs b/ghc/lib/std/PrelNum.lhs
index 9cb3d558a5f66c0d80ed02934725428d5f2957a7..f70f7269ec0f1170c154ca6067892b77166da508 100644
--- a/ghc/lib/std/PrelNum.lhs
+++ b/ghc/lib/std/PrelNum.lhs
@@ -242,11 +242,9 @@ instance  Num Integer  where
 
     -- ORIG: abs n = if n >= 0 then n else -n
 
+    abs (S# (-2147483648#)) = 2147483648
     abs (S# i) = case abs (I# i) of I# j -> S# j
-    abs n@(J# s d)
-      = if (cmpIntegerInt# s d 0#) >=# 0#
-	then n
-	else J# (negateInt# s) d
+    abs n@(J# s d) = if (s >=# 0#) then n else J# (negateInt# s) d
 
     signum (S# i) = case signum (I# i) of I# j -> S# j
     signum (J# s d)