Re: [PATCH] Fix combine_blocks (PR tree-optimization/48975)

2011-05-12 Thread Richard Guenther
On Thu, May 12, 2011 at 4:42 PM, Jakub Jelinek wrote: > Hi! > > combine_blocks at the end removes most of the bbs, keeps around just > loop header, maybe latch and maybe exit_bb.  We need to free bb->aux > through free_bb_predicate, but that is done in the caller, using array of > (former) loop bb

[PATCH] Fix combine_blocks (PR tree-optimization/48975)

2011-05-12 Thread Jakub Jelinek
Hi! combine_blocks at the end removes most of the bbs, keeps around just loop header, maybe latch and maybe exit_bb. We need to free bb->aux through free_bb_predicate, but that is done in the caller, using array of (former) loop bbs, with the new loop->num_nodes count (at most 3). While that prop