]> Savannah Git Hosting - gnulib.git/commitdiff
exp2l tests: Enable a test for glibc versions >= 2.16.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Apr 2024 13:30:28 +0000 (15:30 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Apr 2024 13:30:28 +0000 (15:30 +0200)
* tests/test-exp2.h (test_function): Disable a glibc bug workaround for
glibc versions >= 2.16.

ChangeLog
tests/test-exp2.h

index 3d347161eaf1879a0f246b98fd1da74b9db7a492..8c478f08b154363a0f72f367360894801f3ea19b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-05  Bruno Haible  <bruno@clisp.org>
+
+       exp2l tests: Enable a test for glibc versions >= 2.16.
+       * tests/test-exp2.h (test_function): Disable a glibc bug workaround for
+       glibc versions >= 2.16.
+
 2024-04-05  Bruno Haible  <bruno@clisp.org>
 
        expl tests: Avoid test failure on NetBSD 10.0/i386.
index 836abe63b6effb07510416bb97896869f62cad77..a17e30ea490b76aee205f498927687f1eaf9e372 100644 (file)
@@ -36,7 +36,7 @@ test_function (void)
     ASSERT (y == L_(1.0));
   }
   /* <https://sourceware.org/bugzilla/show_bug.cgi?id=13824> */
-#if !(defined __linux__ && (defined __sparc__ || defined __powerpc__))
+#if !(__GLIBC__ == 2 && __GLIBC_MINOR__ < 16 && (defined __sparc__ || defined __powerpc__))
   {
     int e;
     DOUBLE x;