)]}'
{
  "commit": "381815e194038a4eb96c6381df5391207b23bcda",
  "tree": "78575a73474dba2c75d5535f3723588a38dd2b61",
  "parents": [
    "cdbe7baef3e2b57a22aac5d38f7ce9397480327d"
  ],
  "author": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Jun 25 09:30:58 2025 +0300"
  },
  "committer": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Wed Jun 25 23:15:02 2025 +0300"
  },
  "message": "crt: testcases: Avoid compiler optimization of the null pointer write\n\nPreviously, the compiler would know for certain, that the\nwritten pointer is a null pointer, which is UB. Therefore,\nClang would assume that the UB code is unreachable, and not\ngenerate any code for anything after the call to printf.\n\nMove the pointer variable to the global scope, to make the\ncompiler unable to assume anything about its value here,\nretaining the write and the rest of the main function.\n\nThis fixes hangs in this testcase on armv7 with msvcrt.\n\nSigned-off-by: Martin Storsjö \u003cmartin@martin.st\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d1ae83c24e21a0ff0594f1a9fdfeb68a27148a07",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/testcases/t_nullptrexception.c",
      "new_id": "3c2c47adee7a85b5f7475682ac4efa1a27793c6a",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/testcases/t_nullptrexception.c"
    }
  ]
}
