https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978

--- Comment #40 from Chen Chen <chz0808 at gmail dot com> ---
(In reply to Andrew Pinski from comment #36)
> (In reply to Chen Chen from comment #35)
> > 
> > 1. unknown patch committed between 20250105-20250112 on gcc15: works for
> > gcc15, possibly also works for gcc14? If yes, can it be backported to gcc14?
> 
> r15-6657-g405c99c17210a5 is most likely canidate as it was explicitly
> designed for exchange2_r and it falls directly in your time frame. And I
> doubt it can be backported to GCC 14.

Thank you very much for your kind help! I just did some tests and confirm that
the patch r15-6657 alone would fix the regression issue. See below, tests are
made on Debian sid loong64 with loongson 3A6000 CPU:

-march=la464 -O3 -flto:    9.20 (Debian sid system default 14.2.0-19)
-march=la464 -O3 -flto:    12.4 (14.2.0 source + r15-6657)                     

I saw many other commits at the page:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114074, but they should be not
related to this matter.  

Is it possible to backport r15-6657 alone to gcc14?

Reply via email to