bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exp2l tests: Enable a test for glibc versions >= 2.16


From: Bruno Haible
Subject: exp2l tests: Enable a test for glibc versions >= 2.16
Date: Fri, 05 Apr 2024 15:30:40 +0200

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  <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.

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

[Prev in Thread] Current Thread [Next in Thread]