Re: [PATCH 2/7] RISC-V: Fix uninitialized reg in memcpy

2024-10-18 Thread Jeff Law
On 10/18/24 7:12 AM, Craig Blackmore wrote: gcc/ChangeLog: * config/riscv/riscv-string.cc (expand_block_move): Replace `end` with `length_rtx` in gen_rtx_NE. Thanks. I've pushed this to the trunk. jeff

[PATCH 2/7] RISC-V: Fix uninitialized reg in memcpy

2024-10-18 Thread Craig Blackmore
riscv_vector::expand_block_move contains a gen_rtx_NE that uses uninitialized reg rtx `end`. It looks like `length_rtx` was supposed to be used here. gcc/ChangeLog: * config/riscv/riscv-string.cc (expand_block_move): Replace `end` with `length_rtx` in gen_rtx_NE. --- gcc/config/