http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46888
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #28428|0 |1 is obsolete| | --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-12 08:49:35 UTC --- Created attachment 28431 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28431 New patch Still does not fix the ARM case but similar thing can be done for the three combine case. It does fix the mips case which I was looking into; though really there should be only one insert and no shift.