aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 0fbfd55..d6d4bc0 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -726,7 +726,7 @@ merge_blocks_move_successor_nojumps (basic_block a, basic_block b)
if (tablejump_p (BB_END (b), &label, &table)
&& prev_active_insn (label) == BB_END (b))
{
- BB_END (b) = table;
+ SET_BB_END (b) = table;
}
/* There had better have been a barrier there. Delete it. */
@@ -739,7 +739,7 @@ merge_blocks_move_successor_nojumps (basic_block a, basic_block b)
reorder_insns_nobb (BB_HEAD (b), BB_END (b), BB_END (a));
/* Restore the real end of b. */
- BB_END (b) = real_b_end;
+ SET_BB_END (b) = real_b_end;
if (dump_file)
fprintf (dump_file, "Moved block %d after %d and merged.\n",
@@ -1723,7 +1723,7 @@ outgoing_edges_match (int mode, basic_block bb1, basic_block bb2)
rr.r1 = label1;
rr.r2 = label2;
rr.update_label_nuses = false;
- for_each_rtx (&BB_END (bb1), replace_label, &rr);
+ for_each_rtx (&SET_BB_END (bb1), replace_label, &rr);
match = (old_insns_match_p (mode, BB_END (bb1), BB_END (bb2))
== dir_both);
@@ -1737,7 +1737,7 @@ outgoing_edges_match (int mode, basic_block bb1, basic_block bb2)
from the instruction is deleted too. */
rr.r1 = label2;
rr.r2 = label1;
- for_each_rtx (&BB_END (bb1), replace_label, &rr);
+ for_each_rtx (&SET_BB_END (bb1), replace_label, &rr);
return match;
}
@@ -2673,13 +2673,13 @@ try_optimize_cfg (int mode)
{
if (BB_FOOTER (b))
{
- BB_FOOTER (e->src) = BB_FOOTER (b);
- BB_FOOTER (b) = NULL;
+ SET_BB_FOOTER (e->src) = BB_FOOTER (b);
+ SET_BB_FOOTER (b) = NULL;
}
else
{
start_sequence ();
- BB_FOOTER (e->src) = emit_barrier ();
+ SET_BB_FOOTER (e->src) = emit_barrier ();
end_sequence ();
}
}