http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54519
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-10 16:21:54 UTC --- Created attachment 28161 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28161 gcc48-pr54519.patch Untested WIP patch which tries to handle at least the case where the fn.part.N isn't inlined back. Will need to do something at the inlining side too, to change the source binds back to normal binds of the corresponding vars. And of course, this doesn't handle non-gimple-reg arguments at all, so for the case where we inline back the fn.part.N (either into original function or into some function into which fn has been inlined already) it would still be nice to special case that inlining.