)]}'
{
  "commit": "ea33efbbdcf69794b9962bf4926b07e73618d016",
  "tree": "068159cb209beb88ab6c3e359905c400f2b5a813",
  "parents": [
    "7d781db9c3d5159386b1f645355955da5f844ec4"
  ],
  "author": {
    "name": "Andrea Pinski",
    "email": "andrew.pinski@oss.qualcomm.com",
    "time": "Sat Jul 11 22:57:39 2026 -0700"
  },
  "committer": {
    "name": "Andrea Pinski",
    "email": "andrew.pinski@oss.qualcomm.com",
    "time": "Sat Jul 25 13:34:29 2026 -0700"
  },
  "message": "ifcombine: Handle trapping ifcombining better. [PR126138]\n\nWe can sometimes combine comparisons that are trapping.\nThis adds that optimization to ifcombine; using combine_comparison\nfrom fold-const to do most of the work.\n\nThis does not handle all cases though; mostly dealing with where we need an\ninversion of the outer comparison and it does not invert is not currently handled.\nThis will be handled later on as it needs some extra code added to combine_comparisons.\n\nBootstrapped and tested on x86_64-linux-gnu.\n\n\tPR tree-optimization/126138\ngcc/ChangeLog:\n\n\t* tree-ssa-ifcombine.cc (bb_no_side_effects_p): Don\u0027t reject GIMPLE_COND\n\tthat can trap.\n\t(ifcombine_ifandif): Handle trapping inner conditional specially.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/tree-ssa/fp-trapping-cmp-2.c: New test.\n\t* gcc.dg/tree-ssa/fp-trapping-cmp-3.c: New test.\n\nSigned-off-by: Andrea Pinski \u003candrew.pinski@oss.qualcomm.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4b1cbd71d74e28fcac893121b8bd1a5f7f930943",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/tree-ssa/fp-trapping-cmp-2.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "55bbe1799257ccbb8e8c5f7b72d9cc36b6fa542b",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/tree-ssa/fp-trapping-cmp-3.c"
    },
    {
      "type": "modify",
      "old_id": "0c3e78ef331d7191df38e92cdf7360a1c72302d7",
      "old_mode": 33188,
      "old_path": "gcc/tree-ssa-ifcombine.cc",
      "new_id": "829baa66416a28d34382f55449ba0a78f4fdcf0e",
      "new_mode": 33188,
      "new_path": "gcc/tree-ssa-ifcombine.cc"
    }
  ]
}
