https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109244
--- Comment #3 from JuzheZhong <juzhe.zhong at rivai dot ai> --- (In reply to Mathieu Malaterre from comment #2) > Thanks for the quick update. I'll stop my test until this is merged. > > As a side note, I am also seeing this one in my log: > > internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471 > 133 | } > | ^ > 0xf6b49f rtl_ssa::function_info::finalize_new_accesses(rtl_ssa::insn_change&) > ../../src/gcc/rtl-ssa/changes.cc:471 > 0xf656cd > rtl_ssa::function_info::change_insns(array_slice<rtl_ssa::insn_change*>) > ../../src/gcc/rtl-ssa/changes.cc:659 > 0xf6551f rtl_ssa::function_info::change_insn(rtl_ssa::insn_change&) > ../../src/gcc/rtl-ssa/changes.cc:717 > 0x57eeb1 change_insn > ../../src/gcc/config/riscv/riscv-vsetvl.cc:1027 > 0x57eeb1 pass_vsetvl::cleanup_insns() const > ../../src/gcc/config/riscv/riscv-vsetvl.cc:3929 > 0x59070b pass_vsetvl::lazy_vsetvl() > ../../src/gcc/config/riscv/riscv-vsetvl.cc:4189 > 0x590891 pass_vsetvl::execute(function*) > ../../src/gcc/config/riscv/riscv-vsetvl.cc:4219 Is this ICE also comes from compiling the codes that you attach in this PR? If yes, I am pretty sure this issue has been fixed since I compile the attachment you gave with no fails now. Let's wait for kito to merge all the bug fix patches (there are about 5 bug fix patches pending in the GCC mail list) Thanks.