From e67d1102e0d55effe57427369957351d206f6475 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sat, 6 Jun 2015 13:14:45 +0000 Subject: 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 --- gcc/sel-sched.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/sel-sched.c') diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index ae2ef91..5c49d8e 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -4726,11 +4726,10 @@ static int find_seqno_for_bookkeeping (insn_t place_to_insert, insn_t join_point) { int seqno; - rtx next; /* Check if we are about to insert bookkeeping copy before a jump, and use jump's seqno for the copy; otherwise, use JOIN_POINT's seqno. */ - next = NEXT_INSN (place_to_insert); + rtx_insn *next = NEXT_INSN (place_to_insert); if (INSN_P (next) && JUMP_P (next) && BLOCK_FOR_INSN (next) == BLOCK_FOR_INSN (place_to_insert)) @@ -5151,11 +5150,11 @@ find_sequential_best_exprs (bnd_t bnd, expr_t expr_vliw, bool for_moveop) static void ATTRIBUTE_UNUSED move_nop_to_previous_block (insn_t nop, basic_block prev_bb) { - insn_t prev_insn, next_insn, note; + insn_t prev_insn, next_insn; gcc_assert (sel_bb_head_p (nop) && prev_bb == BLOCK_FOR_INSN (nop)->prev_bb); - note = bb_note (BLOCK_FOR_INSN (nop)); + rtx_note *note = bb_note (BLOCK_FOR_INSN (nop)); prev_insn = sel_bb_end (prev_bb); next_insn = NEXT_INSN (nop); gcc_assert (prev_insn != NULL_RTX @@ -6741,10 +6740,11 @@ static void init_seqno_1 (basic_block bb, sbitmap visited_bbs, bitmap blocks_to_reschedule) { int bbi = BLOCK_TO_BB (bb->index); - insn_t insn, note = bb_note (bb); + insn_t insn; insn_t succ_insn; succ_iterator si; + rtx_note *note = bb_note (bb); bitmap_set_bit (visited_bbs, bbi); if (blocks_to_reschedule) bitmap_clear_bit (blocks_to_reschedule, bb->index); -- cgit v1.1