win32: clear x87 state on exceptions.
commit85d06ddc8787e093c6c5ce8d4d4fbae16c31bf66
authorStas Boukarev <stassats@gmail.com>
Tue, 16 Apr 2024 09:07:04 +0000 (16 12:07 +0300)
committerStas Boukarev <stassats@gmail.com>
Tue, 16 Apr 2024 09:07:11 +0000 (16 12:07 +0300)
tree0cd40c4cb26af7d36cdc7d726302ca38848d3911
parent0bb6559b477acfe2e6e00968424cbf95394bf479
win32: clear x87 state on exceptions.

log2 included from mingw uses x87 and unwinding from its errors leaves
x87 in a bad state.
src/runtime/win32-os.c
tests/ansi-tests.sh