)]}'
{
  "commit": "4374c16fbac0bbc261e3fd510548bbb65c3fc398",
  "tree": "743f763c05cc1c1b12d9feebd26d21d7721edc7b",
  "parents": [
    "f8061f0edbeb7f103b6764844a771d800846af32"
  ],
  "author": {
    "name": "Tankut Baris Aktemur",
    "email": "tankutbaris.aktemur@amd.com",
    "time": "Mon Aug 03 15:38:34 2026 +0200"
  },
  "committer": {
    "name": "Tankut Baris Aktemur",
    "email": "tankutbaris.aktemur@amd.com",
    "time": "Mon Aug 03 17:30:53 2026 +0200"
  },
  "message": "gdb: remove dead code in make_pointer_type and make_reference_type\n\nAt the end of `make_pointer_type` and `make_reference_type`, GDB\nupdates the length of every type in the chain.  This is practically\ndead code, because if we reach this point, we must have allocated a\nnew type.  After a new allocation, the chain contains only the\nnewly-created type itself.  See in `type_allocator::new_type ()`:\n\n  type-\u003echain \u003d type;   /* Chain back to itself.  */\n\nThat is, we always have `ntype \u003d\u003d ntype-\u003echain`.  Therefore, the loop\ncan never be entered.  Remove it.\n\nIn `make_reference_type`, we also remove `*reftype \u003d ntype;`, because\na few lines above the assignment was already made.  This is repeated\ncode.\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9098727959ebe1ea4c266e11c4e74e39d48df35d",
      "old_mode": 33188,
      "old_path": "gdb/gdbtypes.c",
      "new_id": "2dda175237c09ac046b84c6d01d92a065f7eacdd",
      "new_mode": 33188,
      "new_path": "gdb/gdbtypes.c"
    }
  ]
}
