Re: [PATCH] RISC-V: Allow errors to be suppressed when parsing architectures

2025-08-15 Thread Richard Sandiford
Kito Cheng writes: > Yeah, I am OK with this change, although riscv_subset_t may be able to > do further clean up/refactor, but I don't want to block you guys since > this is not super rush to do that. Thanks! Now pushed. The precommit CI seems to be struggling at the moment, so please let me k

Re: [PATCH] RISC-V: Allow errors to be suppressed when parsing architectures

2025-08-14 Thread Kito Cheng
Yeah, I am OK with this change, although riscv_subset_t may be able to do further clean up/refactor, but I don't want to block you guys since this is not super rush to do that. Thanks :) On Thu, Aug 14, 2025 at 5:19 PM Richard Sandiford wrote: > > One of Alfie's FMV patches adds a hook that, in

[PATCH] RISC-V: Allow errors to be suppressed when parsing architectures

2025-08-14 Thread Richard Sandiford
One of Alfie's FMV patches adds a hook that, in some cases, is used to silently query a target_version (with no diagnostics expected). In the review, I'd suggested handling this using a location_t *, with null meaning "suppress diagnostics": https://gcc.gnu.org/pipermail/gcc-patches/2025-Augus