aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-32
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r--sysdeps/wordsize-32/divdi3.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/wordsize-32/divdi3.c b/sysdeps/wordsize-32/divdi3.c
index 60a02b7712..b8a8aeecc5 100644
--- a/sysdeps/wordsize-32/divdi3.c
+++ b/sysdeps/wordsize-32/divdi3.c
@@ -307,10 +307,7 @@ __moddi3 (DWtype u, DWtype v)
u = -u;
}
if (v < 0)
- {
- c = ~c;
- v = -v;
- }
+ v = -v;
__udivmoddi4 (u, v, &w);
if (c)
w = -w;