A certain glibc bug was fixed in glibc 2.16. The corresponding unit test
part can be re-enabled for these newer glibc versions.


2024-04-05  Bruno Haible  <br...@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.

diff --git a/tests/test-exp2.h b/tests/test-exp2.h
index 836abe63b6..a17e30ea49 100644
--- a/tests/test-exp2.h
+++ b/tests/test-exp2.h
@@ -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;




Reply via email to