[Bug rtl-optimization/78617] LRA clobbers live register during rematerialization
thopre01 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 10:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78617
--- Comment #6 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Tue Jan 17 10:11:20 2017
New Revision: 244526
URL: https://gcc.gnu.org/viewcvs?rev=244526&root=gcc&view=rev
Log:
2017-01-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
Backport from mainline
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.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr78617.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/lra-remat.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list