)]}'
{
  "commit": "2ec7980408fafb172d2ddb716a367ce2111e2e9e",
  "tree": "548d0b553d27021e9d11fcca40626c8d0d68a2b9",
  "parents": [
    "7ff4111cdee7eedbe083918f34774e1487ece557"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Jan 25 16:31:47 2024 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Jan 25 16:31:47 2024 +0100"
  },
  "message": "[gdb/build] Workaround gcc PR113599\n\nSince gcc commit d3f48f68227 (\"c++: non-dependent .* operand folding\n[PR112427]\"), with gdb we run into PR gcc/113599 [1], a wrong-code bug, as\nreported in PR build/31281.\n\nWork around this by flipping inherit order:\n...\n-class thread_info : public refcounted_object,\n-\t\t    public intrusive_list_node\u003cthread_info\u003e\n+class thread_info : public intrusive_list_node\u003cthread_info\u003e,\n+\t\t    public refcounted_object\n...\n\nAn argument could be made that this isn\u0027t necessary, because this occurred in\nan unreleased gcc version.\n\nHowever, I think it could be useful when bisecting gcc for other problems in\nbuilding gdb.  Having this workaround means the bisect won\u0027t reintroduce the\nproblem.  Furthermore, the workaround is harmless.\n\nTested on Fedora rawhide x86_64.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d31281\n\n[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id\u003d113599\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e7035d40ad4babd7e137b1409c7194e7d8091033",
      "old_mode": 33188,
      "old_path": "gdb/gdbthread.h",
      "new_id": "11c553a99ca14b6e8dff922a1cf0d9a4acd4368e",
      "new_mode": 33188,
      "new_path": "gdb/gdbthread.h"
    }
  ]
}
