Hi Pali,

> >   $ cd testdir-fenv
> >   $ ./configure -C
> >   $ make
> >   $ make check
> 
> I have just quickly compiled the mingw-w64 with that mentioned
> my change and on Linux under wine I run your checks

I forgot to say: Wine is not a supported platform for Gnulib and for this
tarball. Instead, use real MS-Windows (I use Windows 10, but Windows 8 or 11
probably produce the same results) with either Cygwin or MSYS2 for executing
shell scripts. Neither is ReactOS.

> In the gltests/test-suite.log file is this:
> 
>   FAIL: test-fenv-except-trapping-1
>   =================================
> 
>   test-fenv-except-trapping-1.c:64: assertion 'fedisableexcept 
> (uint_to_exceptions (b)) == uint_to_exceptions (a)' failed
>   FAIL test-fenv-except-trapping-1.exe (exit status: 3)

This is the same result as I got with mingw 14.0.0 on Windows 10.

If you look at the source code of this test, it appears that either
feenableexcept does not work right, or the return value of
fedisableexcept is wrong. But that's just a guess. You'll get
more definitive hints by single-stepping through this test with gdb.

Bruno




Reply via email to