Re: [PATCH 13/19] RISC-V: riscv_parse_subset_t's isa_spec is only parser, input
Project / Subsystem
binutils / risc-v
Date
2026-04-29
Proposer
Jiawei <jiawei@iscas.ac.cn>
Source type
public_inbox
Consensus
Ready to Land
Sentiment
—/10
Technical tradeoffs
- • None, this is a const-correctness improvement.
All attributes
- project
- binutils
- subsystem
- risc-v
- patch_id
- —
- discussion_id
- 6f9b7f7b-87a6-4a51-85e4-a1be9b6825c4@iscas.ac.cn
- source_type
- public_inbox
- title
- Re: [PATCH 13/19] RISC-V: riscv_parse_subset_t's isa_spec is only parser, input
- headline
- RISC-V: riscv_parse_subset_t's isa_spec is only parser input
- tldr
- Makes the ``isa_spec`` field in the ``riscv_parse_subset_t`` struct a pointer-to-const to clarify it's only an input to the parser.
- proposer
- Jiawei <jiawei@iscas.ac.cn>
- consensus
- Ready to Land
- outcome
- ready
- sentiment_score
- —
- technical_tradeoffs
-
- • None, this is a const-correctness improvement.
- series_id
- binutils:risc-v: riscv_parse_subset_t's isa_spec is only parser, input
- series_role
- reply
- series_parts
- []
- tags
-
- • risc-v
- • isa_spec
- • const correctness
- bugzilla_url
- —
- date
- 2026-04-29T00:00:00.000Z
Re: [PATCH 13/19] RISC-V: riscv_parse_subset_t's isa_spec is only parser, input
This patch modifies the riscv_parse_subset_t struct to make the isa_spec field a pointer to a constant value. This change clarifies that the parsing process won’t alter the isa_spec field, which specifies the RISC-V specification class.