On 5/23/06, Steven Bosscher <[EMAIL PROTECTED]> wrote:
On 5/23/06, DJ Delorie <[EMAIL PROTECTED]> wrote:
> What seems to happen is, we delete the simple jump even if we can't
> fallthru, and thus the blocks get rearranged in an incorrect order.
>
> Is there a bug here, or am I misunderstanding how this code works?

You're misunderstanding how this code works.

And, I forgot to say, one of the reasons that this keeps confusing
people is because the rtl dumps in cfglayout mode tend to look
confusing because there is almost no CFG information in them.  I
intend to fix that after finishing fwprop.  In the mean time you can
use brief_dump_cfg and/or hack print_rtl_with_bb to print
predecessors/successors at the start/end of each basic block.

Gr.
Steven

Reply via email to