bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: exp2l tests: Enable a test for glibc versions >= 2.16
Date: Fri, 05 Apr 2024 15:30:40 +0200	[thread overview]
Message-ID: <5646213.cap4ZnTelG@nimes> (raw)

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	other threads:[~2024-04-05 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5646213.cap4ZnTelG@nimes \
    --to=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).