Grzegorz B. Prokopski wrote:
If I do that I run into an infinite loop in fixup_reorder_chain()
in its first for loop at:
while (NEXT_INSN (insn)) << HERE
insn = NEXT_INSN (insn);
It looks like there is an undocumented assumption about insn-chains and
the rbi->header and
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 unfortuna
Hello,
I am trying to reorder certain basic blocks again after
rest_of_handle_reorder_blocks() (which in turn calls
reorder_basic_blocks). What I do is this:
cfg_layout_initialize (flags);
reorder_selected_blocks(); // sets bb->rbi->next on them
/* Leave the rest as it was. */
FOR_EACH_BB (