summaryrefslogtreecommitdiff
path: root/m4/exp2.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/exp2.m4')
-rw-r--r--m4/exp2.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/exp2.m4 b/m4/exp2.m4
index c5c58bd50b..b6cf666f49 100644
--- a/m4/exp2.m4
+++ b/m4/exp2.m4
@@ -1,4 +1,4 @@
-# exp2.m4 serial 2
+# exp2.m4 serial 3
dnl Copyright (C) 2010-2019 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -26,7 +26,7 @@ AC_DEFUN([gl_FUNC_EXP2],
"C"
#endif
double exp2 (double);
- double (*funcptr) (double) = exp2;
+ double (* volatile funcptr) (double) = exp2;
double x;]],
[[return funcptr (x) > 1.5
|| exp2 (x) > 1.5;]])],
@@ -50,7 +50,7 @@ AC_DEFUN([gl_FUNC_EXP2],
"C"
#endif
double exp2 (double);
- double (*funcptr) (double) = exp2;
+ double (* volatile funcptr) (double) = exp2;
double x;]],
[[return funcptr (x) > 1.5
|| exp2 (x) > 1.5;]])],