https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
--- Comment #20 from Kito Cheng <kito at gcc dot gnu.org> --- Created attachment 62192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62192&action=edit v2-0001-RISC-V-Always-register-vector-built-in-function-a.patch V2 patch, verified with my latest reduced case, also included a testcase within patch.