Commit bcc53e2a by Jan Hubicka Committed by Jan Hubicka

* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.

From-SVN: r65214
parent 55a2af0c
Thu Apr 3 22:27:40 CEST 2003 Jan Hubicka <jh@suse.cz>
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
2003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr>
PR optimization/10157
......
......@@ -462,7 +462,8 @@ update_bb_for_insn (bb)
for (insn = bb->head; ; insn = NEXT_INSN (insn))
{
set_block_for_insn (insn, bb);
if (GET_CODE (insn) != BARRIER)
set_block_for_insn (insn, bb);
if (insn == bb->end)
break;
}
......
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