On 11/21/22 02:25, juzhe.zhong@rivai.ai wrote: > https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606523.html > This patch obviously didn't include scalable size frame. > So it ICE in offset = cfun->machine->frame.gp_sp_offset.to_constant (); > We can't directly use to_constant if the frame is a scalable. > Please fix it or revert it. Thanks We probably just need to reject everything in riscv_get_setparate_components if the offset isn't constant. Something like the attached patch (untested) might be enough to resolve the problem. Jeff