)]}'
{
  "commit": "0804a2317ef912e53b73dc28d14347e2e0bfced6",
  "tree": "4f1ae64c5e000f1950f85f03098f847399366e99",
  "parents": [
    "f36077b0a5ab0be062d95103a4182700b67ac8e4"
  ],
  "author": {
    "name": "Pali Rohár",
    "email": "pali.rohar@gmail.com",
    "time": "Sat Apr 11 01:00:02 2026 +0200"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Tue Apr 14 19:59:53 2026 +0800"
  },
  "message": "crt: Fix x86 __mingw_setfp() to not mask all exceptions on noop operation\n\nx87 fnstenv instruction saves the current FPU operating environment at the\nmemory location specified with the destination operand, and then masks all\nfloating-point exceptions.\n\nSo if the x87 fnstenv instruction was called, it is required to call\nfollow-up x87 fldenv instruction which will restore previous masking state\nof floating-point exceptions. Hence x87 fldenv instruction must be always\ncalled, and not only when new cw or sw value differs from the old one.\n\n__mingw_setfp is currently calling x87 fldenv instruction only when the new\ncw or sw value differs from the old one. And this behavior cause breaking\nof following code:\n\n    fedisableexcept(FE_ALL_EXCEPT);\n    feenableexcept(FE_INVALID);\n    feenableexcept(FE_INVALID);\n\nThe third line disables all exceptions, including the FE_INVALID.\n\nCo-authored-by: LIU Hao \u003clh_mouse@126.com\u003e\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dcd767d9ab5c4a50d8961b3eefd65907fca24b9b",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/misc/mingw_setfp.c",
      "new_id": "137a5556ed5ba6a34504690353e8c99b62affc93",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/misc/mingw_setfp.c"
    }
  ]
}
