On Tue, Sep 11, 2012 at 05:40:30PM +0200, Steven Bosscher wrote: > On Tue, Sep 11, 2012 at 5:31 PM, Christian Bruel <christian.br...@st.com> > wrote: > > Actually, the edge is fairly simple. I have > > > > BB5 (BB_COLD_PARTITION) -> BB10 (BB_HOT_PARTITION) -> EXIT > > > > and BB10 has no other incoming edges. and we are duplicating it. > > That is wrong, should never happen. Is there a test case to play with? > It'd be good to have a PR for this.
Isn't that the standard case when !HAVE_return ? Then you can have only a single return through epilogue, and when the epilogue is in the hot partition, even if cold code is returning, it needs to jump to the epilogue. Jakub