This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization


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

--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Andreas Krebbel from comment #0)
> Created attachment 41383 [details]
> Experimental patch

Andreas, thank you for working on the issue.  You are right.  The hard reg in
the clobber should be not be an earlyclobber one.  But, unfortunately the patch
is not fully correct.  Static data exists in one examplar for insn with the
same insn code and as consequence should not be dependent on other operands.

I'll think about the correct solution. Do you have a test case?  The patch
might be ready soon after I get the test.  Although it will take some time to
test the patch.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]