[Bug rtl-optimization/78617] LRA clobbers live register during rematerialization
thopre01 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 17:57:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78617
--- Comment #3 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Wed Dec 7 17:56:53 2016
New Revision: 243374
URL: https://gcc.gnu.org/viewcvs?rev=243374&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gcc.c-torture/execute/pr78617.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lra-remat.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list