)]}'
{
  "commit": "c8cf35fe67f80f829d924e10b1fd2bb2390c3684",
  "tree": "d4ec6101ebb09722f64de38509d73a53b8adc763",
  "parents": [
    "d02446b947aa6a2008abbeb891977db6c4b712e0"
  ],
  "author": {
    "name": "Eric Botcazou",
    "email": "ebotcazou@adacore.com",
    "time": "Sat May 30 21:11:44 2026 +0200"
  },
  "committer": {
    "name": "Eric Botcazou",
    "email": "ebotcazou@adacore.com",
    "time": "Fri Jun 19 09:42:20 2026 +0200"
  },
  "message": "ada: Fix assertion failure on access to uninitialized package entity\n\nIt occurs during the analysis of a generic package declared in a structural\ninstance of a parent generic package, on accessing the uninitialized entity\nof the current semantic unit.  But this access is unnecessary because what\nhappens within an instance does not affect the current semantic unit here.\n\nThe change also adds the missing call to Unit_Requires_Body already present\nin the generic subprogram case to the generic package case.\n\ngcc/ada/ChangeLog:\n\n\t* sem_ch12.adb (Analyze_Generic_Package_Declaration): Do not set the\n\tBody_Needed_For_Inlining flag on the current semantic unit if the\n\tpackage is declared within an instance or does not require a body.\n\t(Analyze_Generic_Subprogram_Declaration): Similarly, do not set the\n\tBody_Needed_For_Inlining flag on the current semantic unit if the\n\tsubprogram is declared within an instance.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "acbb47f29381c97fff7cfd007313cb1a0046c1f6",
      "old_mode": 33188,
      "old_path": "gcc/ada/sem_ch12.adb",
      "new_id": "8b406f00a7277dbcc94a5e183e52cebfc94ff06e",
      "new_mode": 33188,
      "new_path": "gcc/ada/sem_ch12.adb"
    }
  ]
}
