)]}'
{
  "commit": "7cd98512853df3cc8ffd0357fac0d69d820df631",
  "tree": "611883370e2d2f4078da6a5642a0ada69c727fd6",
  "parents": [
    "eb180fd6790b9c7d197a582faaa52788d96517ff"
  ],
  "author": {
    "name": "Enes Cevik",
    "email": "enes@nsvke.com",
    "time": "Tue Jul 14 14:46:03 2026 +0300"
  },
  "committer": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@embecosm.com",
    "time": "Fri Aug 07 14:33:12 2026 +0200"
  },
  "message": "gccrs: lang: Add range_inclusive_new\n\nThis patch introduces the \u0027range_inclusive_new\u0027 lang item to the compiler.\nWhen the compiler encounters an inclusive range expression, it now\ncorrectly desugars the operation into a function call targeting this\nlang item instead of lowering it directly into a static struct.\n\ngcc/rust/ChangeLog:\n\n\t* hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Add\n\tdesugaring for range_inclusive_new lang item.\n\t* util/rust-lang-item.cc (Rust::LangItem::lang_items): Add\n\trange_inclusive_new to the BiMap.\n\t* util/rust-lang-item.h (class LangItem): Add RANGE_INCLUSIVE_NEW\n\tto the Kind enum.\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/compile/torture/range-lang-item1.rs: Update test to use\n\tthe new lang item.\n\nSigned-off-by: Enes Cevik \u003cenes@nsvke.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f41ba8bcf8cbbc3c92ce3ed6b4dfdc6067ceb46c",
      "old_mode": 33188,
      "old_path": "gcc/rust/hir/rust-ast-lower-expr.cc",
      "new_id": "0e934307755df0ef4146787887e2ed4179535156",
      "new_mode": 33188,
      "new_path": "gcc/rust/hir/rust-ast-lower-expr.cc"
    },
    {
      "type": "modify",
      "old_id": "91284e27b0886846ca0cafd211d596517c45797f",
      "old_mode": 33188,
      "old_path": "gcc/rust/util/rust-lang-item.cc",
      "new_id": "731fd23f314885fc9194e581ca00e8c5b053d61b",
      "new_mode": 33188,
      "new_path": "gcc/rust/util/rust-lang-item.cc"
    },
    {
      "type": "modify",
      "old_id": "d96fa9e6a78953f4ffbee1658ba20b729efdac04",
      "old_mode": 33188,
      "old_path": "gcc/rust/util/rust-lang-item.h",
      "new_id": "9684148f75544b95f53db0e0f85ed36dd150916d",
      "new_mode": 33188,
      "new_path": "gcc/rust/util/rust-lang-item.h"
    },
    {
      "type": "modify",
      "old_id": "8682e5a55ae45e066b96f742ffc117860d653cfd",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/rust/compile/torture/range-lang-item1.rs",
      "new_id": "328f0cfa72e875691f4a2f87c61f22f85d222b2f",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/rust/compile/torture/range-lang-item1.rs"
    }
  ]
}
