This patch fixes a compilation error on FreeBSD, when I use
gl_cv_func_fesetexceptflag_in_libm=no \
gl_cv_func_fesetexceptflag_no_libm=no \
./configure
for testing the override code.
2023-11-04 Bruno Haible
fenv-exceptions-state-c99: Fix compilation error on FreeBSD.
*
This one needs the same fix for x86_64 and i386 as the fsetenv() function.
2023-10-30 Bruno Haible
fenv-exceptions-state-c99: Fix the x86_64 and i386 case.
* lib/fenv-except-state-set.c (fesetexceptflag): Make sure to restore
the exception trap bits in all cases.
From