)]}'
{
  "commit": "aa41b0bd7fa07e2e7820e07fbe2b904251a8e378",
  "tree": "473e14f551b908e25ee5ccec9f5e7bdd6044ce17",
  "parents": [
    "762417a8771a3d243f2714a549b1867c30076baa"
  ],
  "author": {
    "name": "Josef Melcr",
    "email": "josef.melcr@suse.com",
    "time": "Tue Jun 23 17:46:08 2026 +0200"
  },
  "committer": {
    "name": "Josef Melcr",
    "email": "josef.melcr@suse.com",
    "time": "Mon Jul 13 11:02:56 2026 +0200"
  },
  "message": "ipa: Add missing call to duplication hooks [PR ipa/125121]\n\nThis patch adds a missing call to edge duplication hooks in\ncgraph_edge::make_callback.\n\nIn PR125121, we get an ICE in ipa-sra when compiling with -fno-ipa-cp,\nbecause the analysis in ipa-prop runs after sra generates its summaries.\nBecause of the missing call to the hooks, the summaries required by sra\ndon\u0027t get copied over for the newly added callback edges, leading to\nsegfaults.  This patch adds the call to the hooks to remedy this.  It\nalso changes some of the initialization logic for summaries for callback\nedges to make it a little more consistent.\n\n\tPR ipa/125121\n\ngcc/ChangeLog:\n\n\t* cgraph.cc (cgraph_edge::make_callback): Add missing call to\n\tduplication hooks.\n\t* ipa-prop.cc (init_callback_edge_summary): Remove function.\n\t(ipa_compute_jump_functions_for_edge): Remove call to\n\tinit_callback_edge_summary, fix comment.\n\t(ipa_edge_args_sum_t::duplicate): Fix the initialization of jump\n\tfunctions vector for callback edges.\n\ngcc/testsuite/ChangeLog:\n\n\t* c-c++-common/gomp/pr125121.c: New test.\n\nSigned-off-by: Josef Melcr \u003cjosef.melcr@suse.com\u003e\n(cherry picked from commit 3bbe1a86ccecb180a4d32de6eab97bcc624a410f)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "353e8b498aa6d172b3702291964b3c045cd35d3c",
      "old_mode": 33188,
      "old_path": "gcc/cgraph.cc",
      "new_id": "aec65e47a2ba15c5bb5cb21adb9d132c4232fa48",
      "new_mode": 33188,
      "new_path": "gcc/cgraph.cc"
    },
    {
      "type": "modify",
      "old_id": "dee7632eef0c9c6f6f34ba79dd94cb535ca9b0b2",
      "old_mode": 33188,
      "old_path": "gcc/ipa-prop.cc",
      "new_id": "4c60c903a381393896ab14a1b514a13804f04ba9",
      "new_mode": 33188,
      "new_path": "gcc/ipa-prop.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0aceb6e51657b08d4fc79bb3a967b7370d0d6740",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/pr125121.c"
    }
  ]
}
