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

--- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Mar 18 19:30:20 2016
New Revision: 234344

URL: https://gcc.gnu.org/viewcvs?rev=234344&root=gcc&view=rev
Log:
        PR rtl-optimization/70263
        * ira.c (memref_used_between_p): Assert we found END in the insn chain.
        (update_equiv_regs): When trying to move a store to after the insn
        that sets the source of the store, make sure the store occurs after
        the insn that sets the source of the store.  When successful note
        the REG_EQUIV note created in the dump file.

        PR rtl-optimization/70263
        * gcc.c-torture/compile/pr70263-1.c: New test.
        * gcc.target/i386/pr70263-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr70263-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr70263-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ira.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to