https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106096
--- Comment #10 from chenglulu <chenglulu at loongson dot cn> --- (In reply to Xi Ruoyao from comment #9) > Created attachment 53214 [details] > patch removing r13 from SIBCALL_REGS > > I'm testing this patch now. > > I suggest to apply this for trunk and gcc-12 branch first (as gcc-12 also > miscompiles the test case). > > Then if the reordering of RA preference can improve performance, you may > apply it later (and also adjust the changes in this patch again). OK!