http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53176
--- Comment #19 from rdsandiford at googlemail dot com <rdsandiford at googlemail dot com> 2012-05-06 19:17:03 UTC --- "olegendo at gcc dot gnu.org" <gcc-bugzi...@gcc.gnu.org> writes: > --- Comment #18 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-05-06 > 18:09:37 UTC --- > On SH an issue popped up because lower-subreg would not split multi-word regs > anymore. Could somebody please have a look at comment #2 and the proposed > patch in PR 53250? Unfortunately I messed up the choice of cost routines in the original patch. I just committed the fix for that. The SH rtx_costs routine should now see (set (reg) (reg)) and (set (reg) (const_int 0)) rtxes, so you should be able to set the costs there. See: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00425.html for a similar MIPS patch.