* tests/test-exp-ieee.h (test_function): Mark some variable as
'volatile'.
* tests/test-exp2-ieee.h (test_function): Likewise.
+2021-01-09 Bruno Haible <bruno@clisp.org>
+
+ exp* tests: Work around clang 6.0.1 optimization bugs on x86.
+ * tests/test-exp-ieee.h (test_function): Mark some variable as
+ 'volatile'.
+ * tests/test-exp2-ieee.h (test_function): Likewise.
+
2021-01-09 Bruno Haible <bruno@clisp.org>
fchmodat: Work around trailing slash bug in fchmodat() on AIX 7.2.
/* Underflow. */
{
- DOUBLE z = EXP (-100000.0);
+ volatile DOUBLE z = EXP (-100000.0);
ASSERT (z == L_(0.0));
ASSERT (!signbit (z));
}
/* Underflow. */
{
- DOUBLE z = EXP2 (-100000.0);
+ volatile DOUBLE z = EXP2 (-100000.0);
ASSERT (z == L_(0.0));
ASSERT (!signbit (z));
}