diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-06 13:14:45 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-06 13:14:45 +0000 |
commit | e67d1102e0d55effe57427369957351d206f6475 (patch) | |
tree | ae5222f0b206b4fe1455b6bf791013c65d7bdbb5 /gcc/shrink-wrap.c | |
parent | ad42dbbebaca32f857812b2285c8e4462bb0c688 (diff) | |
download | gcc-e67d1102e0d55effe57427369957351d206f6475.zip gcc-e67d1102e0d55effe57427369957351d206f6475.tar.gz gcc-e67d1102e0d55effe57427369957351d206f6475.tar.bz2 |
emit-rtl.c, [...]: Replace rtx base types with more derived ones.
gcc/
* emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c,
rtl.h, bb-reorder.c, builtins.c, calls.c, cfgbuild.c, cfgexpand.c,
cfgrtl.c, cilk-common.c, config/i386/i386.md, cse.c, dwarf2cfi.c,
except.c, final.c, function.c, gcse-common.c, genemit.c,
haifa-sched.c, ifcvt.c, jump.c, loop-invariant.c, loop-iv.c,
lra-constraints.c, lra.c, reload1.c, resource.c, rtlanal.c,
sched-deps.c, sched-ebb.c, sel-sched-ir.c, sel-sched.c,
shrink-wrap.c, stmt.c, store-motion.c: Replace rtx base types with
more derived ones.
From-SVN: r224187
Diffstat (limited to 'gcc/shrink-wrap.c')
-rw-r--r-- | gcc/shrink-wrap.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index 52cc033..542ab9b 100644 --- a/gcc/shrink-wrap.c +++ b/gcc/shrink-wrap.c @@ -813,7 +813,6 @@ try_shrink_wrapping (edge *entry_edge, edge orig_entry_edge, FOR_EACH_BB_REVERSE_FN (bb, cfun) { basic_block copy_bb, tbb; - rtx_insn *insert_point; int eflags; if (!bitmap_clear_bit (&bb_tail, bb->index)) @@ -843,8 +842,8 @@ try_shrink_wrapping (edge *entry_edge, edge orig_entry_edge, BB_COPY_PARTITION (copy_bb, bb); } - insert_point = emit_note_after (NOTE_INSN_DELETED, - BB_END (copy_bb)); + rtx_note *insert_point = emit_note_after (NOTE_INSN_DELETED, + BB_END (copy_bb)); emit_barrier_after (BB_END (copy_bb)); tbb = bb; @@ -1008,12 +1007,11 @@ convert_to_simple_return (edge entry_edge, edge orig_entry_edge, else if (*pdest_bb == NULL) { basic_block bb; - rtx_insn *start; bb = create_basic_block (NULL, NULL, exit_pred); BB_COPY_PARTITION (bb, e->src); - start = emit_jump_insn_after (gen_simple_return (), - BB_END (bb)); + rtx_jump_insn *start = emit_jump_insn_after (gen_simple_return (), + BB_END (bb)); JUMP_LABEL (start) = simple_return_rtx; emit_barrier_after (start); |