[Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call

vmakarov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 16 20:09:00 GMT 2016


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

--- Comment #8 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Sorry for delay with the answer.  I had a long vacation.

LRA remat sub-pass did not check relation between the hard coded insn
registers.  It checked only relations between operand registers and other
operands and hard coded insn registers.

The attached patch should solve the problem.  If it works for you.  I'll commit
it on the next week.


More information about the Gcc-bugs mailing list