)]}'
{
  "commit": "bee720e9cc76c3d3e4d95d8a6f000c01a2803fe9",
  "tree": "0db6bccfa7399b901a748a9be85bfba2d817a456",
  "parents": [
    "0ea1e40f4df8505315c70a529a32660ce0385550"
  ],
  "author": {
    "name": "Eric Botcazou",
    "email": "ebotcazou@adacore.com",
    "time": "Mon Jan 12 21:45:44 2026 +0100"
  },
  "committer": {
    "name": "Eric Botcazou",
    "email": "ebotcazou@adacore.com",
    "time": "Thu May 28 15:50:10 2026 +0200"
  },
  "message": "ada: Fix incorrect finalization of renamed function call at library level\n\nThis is a regression present in recent releases for the peculiar case of the\nrenaming of a controlled function call done at library level, which causes\nthe compiler to create a dangling reference to a temporary created on the\nstack of the elaboration routine to hold the result of the function call.\n\ngcc/ada/ChangeLog:\n\n\t* exp_ch6.adb (Expand_Ctrl_Function_Call): Bail out for the name\n\tof an object renaming declaration at library level, if the call\n\tdoes not return on the secondary stack.\n\t* exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Rewrite the\n\trenaming as a regular object declaration if it is declared at\n\tlibrary level and the name is a controlled function call whose\n\tresult is not returned on the secondary stack.\n\t* exp_util.adb (Rewrite_Object_Declaration_As_Renaming): Minor fix.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f96c6bc8d1ee2689e692e4cae29428129c018ef9",
      "old_mode": 33188,
      "old_path": "gcc/ada/exp_ch6.adb",
      "new_id": "a3888d4a8f0bff060c87cedc592381741b2025ff",
      "new_mode": 33188,
      "new_path": "gcc/ada/exp_ch6.adb"
    },
    {
      "type": "modify",
      "old_id": "488ed9fd1c1335061aebd88616933ab1fe473d07",
      "old_mode": 33188,
      "old_path": "gcc/ada/exp_ch8.adb",
      "new_id": "785bc5736cf8fc537841a4567b7c7a879cec6aca",
      "new_mode": 33188,
      "new_path": "gcc/ada/exp_ch8.adb"
    },
    {
      "type": "modify",
      "old_id": "6909c65b34e276d3e3f5cf7791da6121282125f4",
      "old_mode": 33188,
      "old_path": "gcc/ada/exp_util.adb",
      "new_id": "6cdb4f21be1d6bcbf7db5da56b2c550fee034083",
      "new_mode": 33188,
      "new_path": "gcc/ada/exp_util.adb"
    }
  ]
}
