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

--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 55498
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55498&action=edit
also change address register when applying the peephole

The attached patch should fix the issue without removing the peephole
optimization.  If the eliminated register is in the memory address operand,
then the memory operand will be updated respectively.

Does anybody still has access to the system where this bug happened? I'd
appreciate any testing support.

Reply via email to