[Bug target/106096] [13 regression] ICE building stage 2 libgcc on loongarch64-linux-gnu because stage 2 gcc is miscompiled

chenglulu at loongson dot cn gcc-bugzilla@gcc.gnu.org
Tue Jun 28 10:18:55 GMT 2022


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!


More information about the Gcc-bugs mailing list