https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447
--- Comment #19 from JuzheZhong <juzhe.zhong at rivai dot ai> --- Created attachment 56589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56589&action=edit bug fix patch Hi,Vineet. The attachment is the bug fix patch. I have tested on both RV32 and RV64 C/C++. No regression with reducing memset-3.c FAIL. You can verify and send the patch. Thanks.