* cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
From-SVN: r71153
This commit is contained in:
parent
0b22120b62
commit
470d9044da
@ -1,5 +1,7 @@
|
||||
Sun Sep 7 00:22:22 CEST 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
|
||||
|
||||
* toplev.c (rest_of_decl_compilation): Do not finalize external
|
||||
virables.
|
||||
|
||||
|
@ -182,7 +182,13 @@ try_simplify_condjump (basic_block cbranch_block)
|
||||
next = NEXT_INSN (insn);
|
||||
if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0)
|
||||
{
|
||||
reorder_insns (insn, insn, end);
|
||||
if (insn == end)
|
||||
{
|
||||
jump_block->end = PREV_INSN (insn);
|
||||
if (jump_block->end == end)
|
||||
break;
|
||||
}
|
||||
reorder_insns_nobb (insn, insn, end);
|
||||
end = insn;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user