> On Fri, Apr 27, 2012 at 12:50 PM, Eric Botcazou <ebotca...@adacore.com> wrote: > >> We do not depend on the block structure any more when dealing with > >> stack layout for variables in GCC 4.7.0 and above. I am not saying > >> your patch is incorrect or not needed. Just it will not have an > >> effect on variable stack layout. > > > > It might be worth backporting to the 4.6 branch though, these stack layout > > issues are very nasty. > > What about not setting a BLOCK on the call stmt? That said, I can't see
I recall that not seetting the block did lead to ICE... > how outlining a SESE region that starts at the beginning of the function > is not conservatively using the outermost BLOCK ... so, is the bug not > elsewhere? ... so I made the exactly same conclussion. The problem is with stack vars allocated in header that survive till the tail part? Honza > > Richard. > > > -- > > Eric Botcazou