)]}'
{
  "commit": "e72b937dddaf24d99ec1bf3beda4d8ecf3cd368c",
  "tree": "5911a0ca086259e6be525b3e393cf8fe6a80747a",
  "parents": [
    "9972aac27d5d664a29abc88acd3a84c1e72064c4"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Aug 14 18:32:29 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Aug 14 18:32:29 2023 +0200"
  },
  "message": "[gdb/build] Fix struct token odr violation\n\nWhen building gdb with -O2 -flto I run into:\n...\n/data/vries/gdb/src/gdb/c-exp.y:2450:8: warning: type \u0027struct token\u0027 \\\n  violates the C++ One Definition Rule [-Wodr]\n struct token\n        ^\n/data/vries/gdb/src/gdb/d-exp.y:939:8: note: a different type is defined in \\\n  another translation unit\n struct token\n        ^\n...\n\nFix this by renaming to c_token and d_token.\n\nLikewise in:\n- fortran-exp.y, renaming to f_token,\n- go-exp.y, renaming to go_token, and\n- p-exp.y, renaming to p_token.\n\nTested on x86_64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\nPR build/22395\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d22395\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "032ba25274eefb6c27271caa52dc59b7ff9a7f54",
      "old_mode": 33188,
      "old_path": "gdb/c-exp.y",
      "new_id": "a27dbfa608f3cfa6037ba16b68e1066aa45692be",
      "new_mode": 33188,
      "new_path": "gdb/c-exp.y"
    },
    {
      "type": "modify",
      "old_id": "8620a67e04a8aee0df74e68e363159b32371f601",
      "old_mode": 33188,
      "old_path": "gdb/d-exp.y",
      "new_id": "6c5569a1c8d67c587e78998329eb038017e98e50",
      "new_mode": 33188,
      "new_path": "gdb/d-exp.y"
    },
    {
      "type": "modify",
      "old_id": "19e4c702c149c42dae086c0975fa611d9b8e013f",
      "old_mode": 33188,
      "old_path": "gdb/f-exp.y",
      "new_id": "18566afd67f59f837cd94a3c521f814a560dfd05",
      "new_mode": 33188,
      "new_path": "gdb/f-exp.y"
    },
    {
      "type": "modify",
      "old_id": "92abd95a159bc015069395e9983fac53d2b88538",
      "old_mode": 33188,
      "old_path": "gdb/go-exp.y",
      "new_id": "28bf3f0ab3307d9a2304e1e4179de5b3b67bf29a",
      "new_mode": 33188,
      "new_path": "gdb/go-exp.y"
    },
    {
      "type": "modify",
      "old_id": "b086bf73a0ed540cc3428b0917783dd99dd203e8",
      "old_mode": 33188,
      "old_path": "gdb/p-exp.y",
      "new_id": "2360a500476cfc9999dd90a71583f1dfba71d464",
      "new_mode": 33188,
      "new_path": "gdb/p-exp.y"
    }
  ]
}
