)]}'
{
  "commit": "722aa418df94d85eecb7500ec9c38384c557338d",
  "tree": "34de21bf4c242c35d3e843f6bd3772eac5204894",
  "parents": [
    "12796e6938a6390512e714f635d2c4fdef7023ba"
  ],
  "author": {
    "name": "Qing Zhao",
    "email": "qing.zhao@oracle.com",
    "time": "Wed Jul 30 14:49:12 2025 +0000"
  },
  "committer": {
    "name": "Qing Zhao",
    "email": "qing.zhao@oracle.com",
    "time": "Wed Jul 30 14:49:12 2025 +0000"
  },
  "message": "C: Flex array in union followed by a structure field is not reported [PR120354]\n\nThere is only one last_field for a structure type, but there might\nbe multiple last_fields for a union type, therefore we should ORed\nthe result of TYPE_INCLUDES_FLEXARRAY for multiple last_fields of\na union type.\n\n\tPR c/120354\n\ngcc/c/ChangeLog:\n\n\t* c-decl.cc (finish_struct): Or the results for TYPE_INCLUDES_FLEXARRAY.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/pr120354.c: New test.\n\n(cherry picked from commit 70418e6c0120cfce33ab69628602dfdadbed683a)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "42e17dcdbf89d0f7bcbd8960d5e95b9678ac86b8",
      "old_mode": 33188,
      "old_path": "gcc/c/c-decl.cc",
      "new_id": "5032ba1377996e28a30819983b18462bb3b57258",
      "new_mode": 33188,
      "new_path": "gcc/c/c-decl.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6749737a17377fe74cda182b68e6ac9213866eff",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/pr120354.c"
    }
  ]
}
