http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48721
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-30 12:51:35 UTC --- Created attachment 25951 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25951 gcc47-pr48721.patch begin_move_insn can be easily fixed, the question is why we try to schedule the tail call insn over the restore of r12, which is a call saved register and therefore has to be restored.