On 11/12/25 12:34 AM, Kuan-Lin Chen wrote:
Fix the random error in gcc.target/riscv/target-attr-06.c.
gcc/ChangeLog:
* config/riscv/riscv-target-attr.cc (riscv_process_target_str): Clean
the final byte of str_to_check.
Thanks a ton for tracking this down! It's been bouncing between
pass/fail for a few weeks. I was reasonably confident it was an
off-by-one error or the like, but hadn't had time to chase it yet.
jeff
