http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54519
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-09-10 CC| |rguenth at gcc dot gnu.org Target Milestone|--- |4.6.4 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-10 11:02:10 UTC --- I wonder whether we can make the split function pieces "virtual clones", thus drive all this from IPA inlining instead. So in case we do not inline the header keep the call to the unsplit function. That would have been a better overall design IMHO (not giving any early optimization benefits of course). But even with the current design we might be able to simply fold back to calling the original function at some point (we'd of course have to outline both the header and the tail in this case to keep the original body).