https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78127
--- Comment #7 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to Wilco from comment #6) > (In reply to Vladimir Makarov from comment #3) > > Author: vmakarov > > Date: Thu Feb 16 19:47:15 2017 > > New Revision: 245514 > > > > URL: https://gcc.gnu.org/viewcvs?rev=245514&root=gcc&view=rev > > Log: > > 2017-02-16 Vladimir Makarov <vmaka...@redhat.com> > > > > PR rtl-optimization/78127 > > * lra.c (lra): Call lra_eliminate before finish the loop after > > lra_constraint. > > > > > > Modified: > > trunk/gcc/ChangeLog > > trunk/gcc/lra.c > > Vlad, would it be safe to backport this? Yes, I think it is safe.