This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call
- From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Sep 2016 20:09:44 +0000
- Subject: [Bug rtl-optimization/77416] [7 Regression] LRA rematerializing use of CA reg across function call
- Auto-submitted: auto-generated
- References: <bug-77416-4@http.gcc.gnu.org/bugzilla/>
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.