)]}'
{
  "commit": "dc9852f32b7b7f072fadc3fe99efec464ff81fc4",
  "tree": "8246f67260b2ef163aee9a1e6dfbc31f149734fe",
  "parents": [
    "bb6f6843d2d4d4951c7ae46fb64214b4092d5a18"
  ],
  "author": {
    "name": "Jakub Jelinek",
    "email": "jakub@redhat.com",
    "time": "Fri Jul 31 09:05:50 2026 +0200"
  },
  "committer": {
    "name": "Jakub Jelinek",
    "email": "jakub@gcc.gnu.org",
    "time": "Fri Jul 31 09:41:07 2026 +0200"
  },
  "message": "gimplify: Allow declarations in recalculate_side_effects [PR126497]\n\nThe following testcase ICEs, because we decide to fold a comparison\ninto just one of its operands, we call recalculate_side_effects on that\nand ICE on the assertion that it isn\u0027t called on anything unexpected\n(here PARM_DECL).\nAlready some time ago we had to add an exception for SSA_NAME for the\nsame reason.\nThe tcc_declaration case is slightly different, TREE_SIDE_EFFECTS is\nsometimes present on those if they are TREE_THIS_VOLATILE, but it is\nsomething the FE should take care of when creating those decls, not\na business of the gimplifier.\n\n2026-07-31  Jakub Jelinek  \u003cjakub@redhat.com\u003e\n\n\tPR middle-end/126497\n\t* gimplify.cc (recalculate_side_effects): Return for\n\ttcc_declaration.\n\n\t* gcc.dg/bitint-141.c: New test.\n\nReviewed-by: Andrea Pinski \u003candrew.pinski@oss.qualcomm.com\u003e\n(cherry picked from commit ca867fd9d5ace4ede8289dba9ae731e554bde618)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8bfc71315f9fd3501bb68f4b23a81c69b781fcec",
      "old_mode": 33188,
      "old_path": "gcc/gimplify.cc",
      "new_id": "6dd991d3b7a54c5bedf98e35ce8123a37e762eb8",
      "new_mode": 33188,
      "new_path": "gcc/gimplify.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f3f22bbb0bf31a8bb94e83699a341bf15c8780a8",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/bitint-141.c"
    }
  ]
}
