* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
From-SVN: r64103
This commit is contained in:
parent
c19de7aa68
commit
912b79e7e9
@ -44,6 +44,8 @@
|
||||
|
||||
Mon Mar 10 15:30:36 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
|
||||
|
||||
* cfgcleanup.c (merge_blocks): Return where to iterate next.
|
||||
(try_optimize_cfg): Use return value of merge_blocks
|
||||
|
||||
|
@ -861,6 +861,8 @@ merge_blocks (e, b, c, mode)
|
||||
b_has_incoming_fallthru = (tmp_edge != NULL);
|
||||
b_fallthru_edge = tmp_edge;
|
||||
next = b->prev_bb;
|
||||
if (next == c)
|
||||
next = next->prev_bb;
|
||||
|
||||
/* Otherwise, we're going to try to move C after B. If C does
|
||||
not have an outgoing fallthru, then it can be moved
|
||||
|
Loading…
Reference in New Issue
Block a user