在 2026-5-28 21:27, Xuntao Chi 写道:
fegetenv and fegetexceptflag read MXCSR via __mingw_setfp_sse().
On i386 targets without SSE support, this can fault. Keep the SSE status
word zeroed and only read it when __mingw_has_sse() reports support.

Bug: https://sourceforge.net/p/mingw-w64/bugs/1026/
Signed-off-by: Xuntao Chi <[email protected]>
---
Resending after joining the mailing list; the previous submission was
held by Mailman moderation.

  mingw-w64-crt/misc/fegetenv.c        | 5 +++--
  mingw-w64-crt/misc/fegetexceptflag.c | 5 +++--
  2 files changed, 6 insertions(+), 4 deletions(-)


Thanks for the patch. I have pushed this one now.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to