From: Bruno Haible Date: Wed, 10 Sep 2025 20:59:19 +0000 (+0200) Subject: frexp: Remove support for IRIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b37573d092b2b70bf5efa89c75a73efb9abd46e;p=thirdparty%2Fgnulib.git frexp: Remove support for IRIX. * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Remove code for IRIX. --- diff --git a/ChangeLog b/ChangeLog index 3f901644d7..b382b6deb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-09-10 Bruno Haible + frexp: Remove support for IRIX. + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Remove code for IRIX. + fmal: Remove support for IRIX. * m4/fmal.m4 (gl_FUNC_FMAL): Don't test whether fmal is declared. (gl_FUNC_FMAL_WORKS): Remove IRIX workaround. diff --git a/m4/frexp.m4 b/m4/frexp.m4 index ea2229e486..003dd79034 100644 --- a/m4/frexp.m4 +++ b/m4/frexp.m4 @@ -1,5 +1,5 @@ # frexp.m4 -# serial 20 +# serial 21 dnl Copyright (C) 2007-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -89,8 +89,8 @@ AC_DEFUN([gl_CHECK_FREXP_NO_LIBM], ]) dnl Test whether frexp() works also on denormalized numbers (this fails e.g. on -dnl NetBSD 3.0), on infinite numbers (this fails e.g. on IRIX 6.5 and mingw), -dnl and on negative zero (this fails e.g. on NetBSD 4.99 and mingw). +dnl NetBSD 3.0), on infinite numbers (this fails e.g. on mingw), and on negative +dnl zero (this fails e.g. on NetBSD 4.99 and mingw). AC_DEFUN([gl_FUNC_FREXP_WORKS], [ AC_REQUIRE([AC_PROG_CC]) @@ -111,7 +111,7 @@ AC_DEFUN([gl_FUNC_FREXP_WORKS], ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */ -#if defined __hpux || defined __sgi || defined __ICC +#if defined __hpux || defined __ICC static double compute_minus_zero (void) { @@ -167,7 +167,7 @@ int main() [gl_cv_func_frexp_works=yes], [gl_cv_func_frexp_works=no], [case "$host_os" in - netbsd* | irix*) gl_cv_func_frexp_works="guessing no" ;; + netbsd*) gl_cv_func_frexp_works="guessing no" ;; # Guess yes with MSVC, no with mingw. windows*-msvc*) gl_cv_func_frexp_works="guessing yes"