re PR rtl-optimization/78617 (LRA clobbers live register during rematerialization)
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 7 Dec 2016 17:56:53 +0000 (17:56 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Wed, 7 Dec 2016 17:56:53 +0000 (17:56 +0000)
commit8e1d640fcdf694fe1d83818b123b550e0da96705
treefd162005580ba4dc0417cb162abdee46df8b1f76
parent8194c537463de4a5e6bd368c1c5fab2fafc40bdf
re PR rtl-optimization/78617 (LRA clobbers live register during rematerialization)

2016-12-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR rtl-optimization/78617
    * lra-remat.c (do_remat): Initialize live_hard_regs from live in
    registers, also setting hard registers mapped to pseudo registers.

    gcc/testsuite/
    PR rtl-optimization/78617
    * gcc.c-torture/execute/pr78617.c: New test.

From-SVN: r243374
gcc/ChangeLog
gcc/lra-remat.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr78617.c [new file with mode: 0644]