[Bug target/61142] [SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 24 21:29:00 GMT 2015


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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34839|0                           |1
        is obsolete|                            |

--- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 34860
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34860&action=edit
A set of peepholes

Testing has revealed that the peephole2 patterns in attachment 34839 produce
wrong code.  If the patterns hit automodify mems the replacement insns of the
peephole2 patterns will not contain any REG_INC notes.  The peephole2 pass does
not copy those notes, but it seems following passes rely on them.



More information about the Gcc-bugs mailing list