From: Bruno Haible Date: Wed, 10 Sep 2025 20:59:33 +0000 (+0200) Subject: isfinite: Remove support for IRIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388af4ea263020dad6814c017de82ce13e97407d;p=thirdparty%2Fgnulib.git isfinite: Remove support for IRIX. * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Remove code for IRIX. --- diff --git a/ChangeLog b/ChangeLog index c19feae754..faf70183e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-09-10 Bruno Haible + isfinite: Remove support for IRIX. + * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Remove code for IRIX. + ilogbl: Remove support for IRIX. * m4/ilogbl.m4 (gl_FUNC_ILOGBL_WORKS): Remove code for IRIX. Remove IRIX workaround. diff --git a/m4/isfinite.m4 b/m4/isfinite.m4 index 56d9b72ee9..af3cf73ca6 100644 --- a/m4/isfinite.m4 +++ b/m4/isfinite.m4 @@ -1,5 +1,5 @@ # isfinite.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, @@ -61,17 +61,7 @@ AC_DEFUN([gl_ISFINITEL_WORKS], ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int)) typedef union { unsigned int word[NWORDS]; long double value; } memory_long_double; -/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the - runtime type conversion. */ -#ifdef __sgi -static long double NaNl () -{ - double zero = 0.0; - return zero / zero; -} -#else -# define NaNl() (0.0L / 0.0L) -#endif +#define NaNl() (0.0L / 0.0L) int main () { int result = 0;