)]}'
{
  "commit": "89b2fa7a74ef1f7b8f0f8f1abc3bbc412d59302a",
  "tree": "1fd528b0eff2e63cc613ec718c33410606c26d66",
  "parents": [
    "49501df986031258cc961b054ee0c3dd2c14f999"
  ],
  "author": {
    "name": "Tobias Burnus",
    "email": "tburnus@baylibre.com",
    "time": "Wed Sep 16 15:34:34 2026 +0200"
  },
  "committer": {
    "name": "Tobias Burnus",
    "email": "tburnus@baylibre.com",
    "time": "Wed Sep 16 15:34:34 2026 +0200"
  },
  "message": "lto.cc: OpenMP\u0027s offload_handle_link_vars - fix for global variables (2/2) [PR127273]\n\nCommit r12-7776-g1002a7ace111d7\n  LTO: Fixes for renaming issues with offload/OpenMP [PR104285]\nmoved the call to offload_handle_link_vars after the renaming of\nsame-named static variables happened.\n\nHowever, it missed to remove the original call - such that the\nfunction is always called twice, walking the same node twice.\n\nIn offload_handle_link_vars, the call to varpool_node::finalize_decl should\nbe be after FOR_EACH_VARIABLE avoid modifying the varpool while walking it.\n(Albeit new items get appended to the front such that \u0027-\u003enext\u0027 walks\nare not affected by added items in the current implementation.)\n\n[See r17-4073-ga6310d58aac505 for (1/2).]\n\ngcc/lto/ChangeLog:\n\n\tPR middle-end/127273\n\t* lto.cc (offload_handle_link_vars): Remove has-value-expr check;\n\tstore link vars and processing them after walking the varpool.\n\t(lto_main): Remove duplicated offload_handle_link_vars call.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d22827bbcc0ac04e447faa23baaa8c45b90513a5",
      "old_mode": 33188,
      "old_path": "gcc/lto/lto.cc",
      "new_id": "3a6fe0a961d9a6d96b9821cde081ce76c49b2215",
      "new_mode": 33188,
      "new_path": "gcc/lto/lto.cc"
    }
  ]
}
