Commit 1ab237df by Jan Hubicka Committed by Jan Hubicka

* cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.

From-SVN: r71172
parent 43f9ce02
Sun Sep 7 14:50:03 CEST 2003 Jan Hubicka <jh@suse.cz>
* cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
2003-09-07 Gabriel Dos Reis <gdr@integrable-solutions.net>
* diagnostic.c (warn_deprecated_use): Move to toplev.c
......
......@@ -182,10 +182,10 @@ try_simplify_condjump (basic_block cbranch_block)
next = NEXT_INSN (insn);
if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0)
{
if (insn == end)
if (insn == jump_block->end)
{
jump_block->end = PREV_INSN (insn);
if (jump_block->end == end)
if (insn == end)
break;
}
reorder_insns_nobb (insn, insn, end);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment