)]}'
{
  "commit": "217df27883c450f3f098bd0d1dc1ea7d5dbe8ff8",
  "tree": "46a3c9954051f09d87187cbc1f638dbd39854f34",
  "parents": [
    "c62176c0ea0d8139161ebb82fabfa0a02e493e2e"
  ],
  "author": {
    "name": "Jakub Jelinek",
    "email": "jakub@redhat.com",
    "time": "Tue Aug 04 10:34:01 2026 +0200"
  },
  "committer": {
    "name": "Jakub Jelinek",
    "email": "jakub@gcc.gnu.org",
    "time": "Tue Aug 04 10:34:01 2026 +0200"
  },
  "message": "range-op-float: Remove inappropriate frange_drop_infs call [PR126549]\n\nFor integer to floating conversions I\u0027ve added frange_drop_infs\ncall into the handler.  Supposedly I thought that integers converted\nto floating point are never +-inf, but that is clearly not the case\nas the testcases show.  For _Float16 it can be +-inf very easily,\nas the finite range is just [-65504.0f16,65504.0f16], for others\nall one needs is a large enough _BitInt.\n\nThe following patch just drops that call.  In the common cases,\n+-inf will not appear in the range anyway, lb and ub will be usually\nfinite.\n\n2026-08-04  Jakub Jelinek  \u003cjakub@redhat.com\u003e\n\n\tPR tree-optimization/126549\n\t* range-op-float.cc (operator_cast::fold_range): Don\u0027t call\n\tfrange_drop_infs.\n\n\t* gcc.dg/torture/pr126549.c: New test.\n\t* gcc.dg/torture/bitint-107.c: New test.\n\nReviewed-by: Aldy Hernandez \u003caldy@quesejoda.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a625202f5312160c209ed492e4504524e3cd06ef",
      "old_mode": 33188,
      "old_path": "gcc/range-op-float.cc",
      "new_id": "c0283a6877564c027ccc729f55079d9a393d00e5",
      "new_mode": 33188,
      "new_path": "gcc/range-op-float.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "93a37bafe316b5de065535b5f522f6847044aa0e",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/torture/bitint-107.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e87610a171791adb49374dd9a4cd389033fdf2d6",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/torture/pr126549.c"
    }
  ]
}
