http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #32252|0 |1 is obsolete| | Attachment #32253|0 |1 is obsolete| | Attachment #32254|0 |1 is obsolete| | --- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 32260 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32260&action=edit gcc49-pr58595.patch Ah, thanks. The problem is that this was matched as TARGET_MEM_REF, which can be fairly complex. Just return x; in that case will result in the right thing in the callers.