https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69530
--- Comment #14 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #13) > (In reply to Vladimir Makarov from comment #12) > > (In reply to H.J. Lu from comment #11) > > > (In reply to H.J. Lu from comment #10) > > > > Created attachment 37512 [details] > > > > A new patch > > > > > > > > I am testing this now. > > > > > > No regressions on x86-64. I will leave it to Vladimir. > > > > Thanks, HJ. I'll investigate it. It will take some time. But what I see > > you removed a code in LRA which was used to fix some bugs. And it is > > questionable for me. > > I reverted r229087 which was supposed to fix PR 67609 which is tracked by > gcc.target/i386/pr67609-2.c and gcc.target/i386/pr67609.c. Apparently > r229458 made r229087 unnecessary. Sorry, I was wrong. The patch is ok. So you can commit the patch reverting r229087 changes in lra-spills.c. Thanks.