https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65805
--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- Author: vmakarov Date: Thu Apr 23 19:07:52 2015 New Revision: 222383 URL: https://gcc.gnu.org/viewcvs?rev=222383&root=gcc&view=rev Log: 2015-04-23 Vladimir Makarov <vmaka...@redhat.com> Backport from trunk r222223. 2015-04-19 Vladimir Makarov <vmaka...@redhat.com> PR rtl-optimization/65805 * lra-eliminations.c (lra_eliminate_regs_1): Add new assert. Don't use difference of offset and previous offset if update_sp_offset is non-zero. (eliminate_regs_in_insn): Ditto. * lra-spills.c (remove_pseudos): Exchange 4th and 6th args in lra_eliminate_regs_1 call. * lra-constraints.c (get_equiv_with_elimination): Ditto. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/lra-constraints.c branches/gcc-5-branch/gcc/lra-eliminations.c branches/gcc-5-branch/gcc/lra-spills.c