about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index e5951f01a4..17826b9d1a 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -1076,7 +1076,9 @@ INTERNAL (STRTOF) (nptr, endptr, group)
 		      for (i = RETURN_LIMB_SIZE; i > empty; --i)
 			retval[i] = retval[i - empty];
 #endif
+#if RETURN_LIMB_SIZE > 1
 		      retval[1] = 0;
+#endif
 		      for (i = numsize; i > 0; --i)
 			num[i + empty] = num[i - 1];
 		      MPN_ZERO (num, empty + 1);