On Fri, 16 May 2025 09:18:45 -0600, Jeff Law wrote:
> 
> 
> On 5/16/25 1:32 AM, Jin Ma wrote:
> > Reported-by: huangcunjian <huangcunjian.hu...@alibaba-inc.com>
> > 
> > gcc/ChangeLog:
> > 
> >     * config/riscv/riscv.cc (riscv_gpr_save_operation_p): Remove
> >     break and fixbug for elt index.
> Ideally we'd have a testcase for whatever issue motivated this change, 
> but it's pretty clear that the element index and failure to loop were 
> just plain wrong code.  But OK even without a testcase.

After removing the break statement from the loop, Kito's testcase can now
be effectively validated, so I did not add any additional testcase.

I've pushed this to the trunk. Thanks.

Best regards,
Jin Ma

Reply via email to