+2026-03-30 Bruno Haible <bruno@clisp.org>
+
+ fenv-exceptions-trapping: Work around mingw 14.0.0 bug.
+ * m4/fenv-exceptions-trapping.m4 (gl_FENV_EXCEPTIONS_TRAPPING): Override
+ feenableexcept, fedisableexcept also on mingw.
+
2026-03-30 Bruno Haible <bruno@clisp.org>
renameatu tests: Enhance test of the RENAME_* macros.
# fenv-exceptions-trapping.m4
-# serial 3
+# serial 4
dnl Copyright (C) 2023-2026 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl Fixed through
dnl <https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=302949e2940a9da3f6364a1574619e621b7e1e71>.
dnl Similarly on FreeBSD 12.2/arm, FreeBSD 12.2/arm64, NetBSD 10.0/arm64.
+ dnl On mingw 14.0.0, feenableexcept and fedisableexcept are broken as well.
case "$host" in
aarch64*-*-linux*)
AC_CACHE_CHECK([whether feenableexcept works],
*) REPLACE_FEENABLEEXCEPT=1 ;;
esac
;;
- arm*-*-freebsd* | aarch64*-*-freebsd* | aarch64*-*-netbsd*)
+ arm*-*-freebsd* | aarch64*-*-freebsd* | aarch64*-*-netbsd* | \
+ *-*-mingw* | *-*-windows*)
REPLACE_FEENABLEEXCEPT=1
;;
esac