Re: [PATCH 17/19] RISC-V: drop dead code from subset parsing
Project / Subsystem
binutils / risc-v
Date
2026-04-29
Proposer
Jiawei <jiawei@iscas.ac.cn>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • None apparent; this is a straightforward cleanup.
All attributes
- project
- binutils
- subsystem
- risc-v
- patch_id
- —
- discussion_id
- 16b3399b-1b9f-4692-a9ff-5d8ba71c1a2c@iscas.ac.cn
- source_type
- public_inbox
- title
- Re: [PATCH 17/19] RISC-V: drop dead code from subset parsing
- headline
- RISC-V: drop dead code from subset parsing
- tldr
- Removes dead code and simplifies error handling in RISC-V subset parsing.
- proposer
- Jiawei <jiawei@iscas.ac.cn>
- consensus
- Proposed
- outcome
- ready
- sentiment_score
- —
- technical_tradeoffs
-
- • None apparent; this is a straightforward cleanup.
- series_id
- binutils:risc-v: drop dead code from subset parsing
- series_role
- reply
- series_parts
- []
- tags
-
- • binutils
- • risc-v
- • subset parsing
- • dead code
- • error handling
- bugzilla_url
- —
- date
- 2026-04-29T00:00:00.000Z
Re: [PATCH 17/19] RISC-V: drop dead code from subset parsing
This patch removes redundant checks and simplifies error handling in the RISC-V subset parsing logic. Specifically, it removes unnecessary checks for NULL return values from riscv_parsing_subset_version() and simplifies the error message construction in riscv_update_subset1(). These changes improve code clarity and maintainability.