* m4/expm1l.m4 (gl_FUNC_EXPM1L): Change test to avoid GCC optimization.
+2021-01-24 Bruno Haible <bruno@clisp.org>
+
+ expm1l: Fix configure test result with GCC 10 on powerpc64le.
+ * m4/expm1l.m4 (gl_FUNC_EXPM1L): Change test to avoid GCC optimization.
+
2021-01-23 Bruno Haible <bruno@clisp.org>
utime: Fix configure test (regression 2020-12-04).
-# expm1l.m4 serial 7
+# expm1l.m4 serial 8
dnl Copyright (C) 2010-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
long double x = 11.358L;
long double y = my_expm1l (x);
long double z = my_expm1l (- x);
- long double err = (y + (1.0L + y) * z) * TWO_LDBL_MANT_DIG;
+ volatile long double t = (1.0L + y) * z;
+ long double err = (y + t) * TWO_LDBL_MANT_DIG;
if (!(err >= -100.0L && err <= 100.0L))
result |= 1;
}