https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #153 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- Created attachment 58886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58886&action=edit a revised patch for c#135 and c#139 (In reply to Oleg Endo from comment #139) If we try to keep the old behavior with -mno-lra as possible, it means that when we define new patterns with R0-clobber, they should be guarded with sh_lra_p() rigidly and the old patterns should be kept. The patch adds these guards to the new patterns in c#135 and fixes the testcase 58859.