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

--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Mar 11 22:38:41 2016
New Revision: 234152

URL: https://gcc.gnu.org/viewcvs?rev=234152&root=gcc&view=rev
Log:
        PR target/70123
        * lra-remat.c (operand_to_remat): Disallow hard regs in the value t
        be rematerialized.
        (reg_overlap_for_remat_p): Renamed from input_regno_present_p.
        Arguments swapped.  All callers changed.  Take reg_renumber into
        account, and Calculate and compare register ranges for hard regs.

        PR target/70123
        * gcc.dg/torture/pr70123.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr70123.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-remat.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to