)]}'
{
  "commit": "06f01b671e33c64649c52fa0a7224253cdebd7eb",
  "tree": "b2123a970aa30df9f0f1c41dd18f6a119561a7bc",
  "parents": [
    "8bb18dcd589630ac659c2743c3d2fc0f529adfa8"
  ],
  "author": {
    "name": "Jin Ma",
    "email": "jinma@linux.alibaba.com",
    "time": "Sat May 30 22:46:05 2026 +0800"
  },
  "committer": {
    "name": "Jin Ma",
    "email": "jinma@linux.alibaba.com",
    "time": "Tue Jun 02 13:30:33 2026 +0800"
  },
  "message": "RISC-V: Clean up redundant code and fix GNU coding style issues\n\nTidy up a few non-functional issues in the RISC-V backend.\ngenrvv-type-indexer.cc includes \u003cassert.h\u003e but uses no assert, and\nriscv-v.cc includes \"targhooks.h\" twice; remove both.  In addition,\nriscv_output_move and riscv_save_libcall_count call abort () where\ngcc_unreachable () is the preferred idiom for unreachable points.\n\nThe remaining changes fix GNU coding style: add the missing space before\nthe open parenthesis of function calls and casts, fix brace placement,\nremove a stray double semicolon and re-wrap a few over-long lines.\n\nAll of the above is redundant code, an idiom change or formatting, so\nthis is a cleanup with no functional change.  No test case is added as\nno behaviour changes.\n\ngcc/ChangeLog:\n\n\t* common/config/riscv/riscv-common.cc: Fix formatting.\n\t* config/riscv/gen-riscv-mcpu-texi.cc: Likewise.\n\t* config/riscv/gen-riscv-mtune-texi.cc: Likewise.\n\t* config/riscv/genrvv-type-indexer.cc: Remove unused \u003cassert.h\u003e\n\tinclude.\n\t* config/riscv/riscv-string.cc: Fix formatting.\n\t* config/riscv/riscv-target-attr.cc: Likewise.\n\t* config/riscv/riscv-v.cc: Remove duplicate \"targhooks.h\" include.\n\tFix formatting.\n\t* config/riscv/riscv-v.h: Fix formatting.\n\t* config/riscv/riscv-vsetvl.cc: Likewise.\n\t* config/riscv/riscv.cc (riscv_pass_by_reference): Remove stray\n\tdouble semicolon.  Fix formatting elsewhere.\n\t(riscv_output_move): Use gcc_unreachable () instead of abort ().\n\t(riscv_save_libcall_count): Use gcc_unreachable () instead of\n\tabort ().\n\t* config/riscv/riscv.h: Fix formatting.\n\t* config/riscv/thead.cc: Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8d6997bd9f604a4f74f5845cd7d92aafa444ab1e",
      "old_mode": 33188,
      "old_path": "gcc/common/config/riscv/riscv-common.cc",
      "new_id": "0335cb2663248cc39987d036834b7bda087f3c5d",
      "new_mode": 33188,
      "new_path": "gcc/common/config/riscv/riscv-common.cc"
    },
    {
      "type": "modify",
      "old_id": "e9c7eb7ee9a8deff12ebca005e4ba925511ecac8",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/gen-riscv-mcpu-texi.cc",
      "new_id": "58845ee111066f161e5d4f45b517033879ac1ada",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/gen-riscv-mcpu-texi.cc"
    },
    {
      "type": "modify",
      "old_id": "5e42690c7a311e72de23f417c45c3ea587b43bfc",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/gen-riscv-mtune-texi.cc",
      "new_id": "0aed2d6b67961f3b072de83aa7dc58a6afdaeedd",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/gen-riscv-mtune-texi.cc"
    },
    {
      "type": "modify",
      "old_id": "040a5aee9acf256631c11f534e8a9711969682b3",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/genrvv-type-indexer.cc",
      "new_id": "ddc0d9863fca9a5be4afe04e7f3749bb631da347",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/genrvv-type-indexer.cc"
    },
    {
      "type": "modify",
      "old_id": "e4f5c289f401ebf0d2eacf049311465545b12c6e",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-string.cc",
      "new_id": "79e1dd03e5d15ae8a4503645e1e9d6df0541f4ab",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-string.cc"
    },
    {
      "type": "modify",
      "old_id": "683b2a02f807050df3efba85f46fee73fe503c69",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-target-attr.cc",
      "new_id": "3628dbb9b1bc4cc883918a3bd959861451a3d8f8",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-target-attr.cc"
    },
    {
      "type": "modify",
      "old_id": "c2b2e346d0abe16a5ca19e616440a85569aec7a5",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-v.cc",
      "new_id": "b0d2a1b966c442d4a9b419aea7dbe9a7d442e25a",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-v.cc"
    },
    {
      "type": "modify",
      "old_id": "03714cca706bed4f8f471cd433867c80e1da3355",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-v.h",
      "new_id": "4b6db9eeb6b66ab1e62b821ab95cf050c3c79a55",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-v.h"
    },
    {
      "type": "modify",
      "old_id": "16549c514dc497a3d33174e93bbbbd423fd6e77f",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-vsetvl.cc",
      "new_id": "ac93bc0726918ba98ca1b4098844b18ef4a65829",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-vsetvl.cc"
    },
    {
      "type": "modify",
      "old_id": "6c69134f337ceb663283c64b7e172e606e339b60",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv.cc",
      "new_id": "18d6d52b5f3bfa09c12c191753498d13236d443f",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv.cc"
    },
    {
      "type": "modify",
      "old_id": "fccf9e6dc099c43cc66d17d1fd8212fa55b3cd31",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv.h",
      "new_id": "c2e5551aeafd69380a50784ea69b946974b2e0f7",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv.h"
    },
    {
      "type": "modify",
      "old_id": "1f25af96e7fe09ca7ba0ed7ca73d94790a2bcbd0",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/thead.cc",
      "new_id": "b143900939d79fb081ae1eb7351fb02ce5fb0d71",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/thead.cc"
    }
  ]
}
