On Fri, 2005-01-04 at 00:10 -0500, Grzegorz B. Prokopski wrote: > /* Leave the rest as it was. */ > FOR_EACH_BB (bb) > if ((bb->next_bb != EXIT_BLOCK_PTR) && (!bb->rbi->next)) > bb->rbi->next = bb->next_bb;
This code worked well in some other place from which I copied it, but unfortunatelly for the kind of reordering I do the above makes some BBs be referenced twice as bb->rbi->next, from two different BBs. I needed to use a more complicated method of setting the order of the "rest" of BBs. Grzegorz B. Prokopski PS: Thanks to the person who offered help off-list.