aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-07-14 03:06:42 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2001-07-14 01:06:42 +0000
commit1ed672dd7c9f547350e96259e013ed6a4bd4d6ed (patch)
tree7ebe8a09f2e053c88b2a24162827fccbad43b62d /gcc/flow.c
parentc51f3aa110b4e8e1142668174576d12a0f443326 (diff)
downloadgcc-1ed672dd7c9f547350e96259e013ed6a4bd4d6ed.zip
gcc-1ed672dd7c9f547350e96259e013ed6a4bd4d6ed.tar.gz
gcc-1ed672dd7c9f547350e96259e013ed6a4bd4d6ed.tar.bz2
bb-reorder.c (skip_insn_after_block): Get past the line number notes.
* bb-reorder.c (skip_insn_after_block): Get past the line number notes. * flow.c (redirect_edge_and_branch_force, split_edge, try_crossjump_to_edge): Use set_block_for_new_insns. * bb-reorder.c (emit_jump_to_block_after): Call set_block_for_new_insns. From-SVN: r44002
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 92f6309..652328f 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1897,7 +1897,7 @@ redirect_edge_and_branch_force (e, target)
JUMP_LABEL (e->src->end) = label;
LABEL_NUSES (label)++;
if (basic_block_for_insn)
- set_block_for_insn (e->src->end, e->src);
+ set_block_for_new_insns (e->src->end, e->src);
emit_barrier_after (e->src->end);
if (rtl_dump_file)
fprintf (rtl_dump_file,
@@ -1971,7 +1971,7 @@ redirect_edge_and_branch_force (e, target)
JUMP_LABEL (new_bb->end) = label;
LABEL_NUSES (label)++;
if (basic_block_for_insn)
- set_block_for_insn (new_bb->end, new_bb);
+ set_block_for_new_insns (new_bb->end, new_bb);
emit_barrier_after (new_bb->end);
return new_bb;
}
@@ -2074,7 +2074,7 @@ split_edge (edge_in)
jump_block->end);
jump_block->end = pos;
if (basic_block_for_insn)
- set_block_for_insn (pos, jump_block);
+ set_block_for_new_insns (pos, jump_block);
emit_barrier_after (pos);
/* ... let jump know that label is in use, ... */
@@ -3555,7 +3555,7 @@ try_crossjump_to_edge (mode, e1, e2)
JUMP_LABEL (e1->src->end) = label;
LABEL_NUSES (label)++;
if (basic_block_for_insn)
- set_block_for_insn (e1->src->end, e1->src);
+ set_block_for_new_insns (e1->src->end, e1->src);
flow_delete_insn_chain (first, last);