summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/ieee754/k_standard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c
index 826f19785a..0bcae6e863 100644
--- a/sysdeps/ieee754/k_standard.c
+++ b/sysdeps/ieee754/k_standard.c
@@ -38,7 +38,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
# if 0
static const double zero = 0.0; /* used as const */
# else
-static double zero = 0.0; /* used as const */
+volatile static double zero = 0.0; /* used as const */
# endif
/*