diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-02 21:03:53 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-02 21:03:53 +0000 |
commit | 21afc57d0821ae800a4a796bb999c919de84222c (patch) | |
tree | ae3aefb83be277df16789b73b7f18ff32a473265 /gcc/reorg.c | |
parent | 563777d7fc12734a838980284a62c6330e1dfd72 (diff) | |
download | gcc-21afc57d0821ae800a4a796bb999c919de84222c.zip gcc-21afc57d0821ae800a4a796bb999c919de84222c.tar.gz gcc-21afc57d0821ae800a4a796bb999c919de84222c.tar.bz2 |
change local vars to rtx_insn *
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* builtins.c (expand_builtin_trap): Change type of local
variable to rtx_insn *.
* config/arc/arc.md: Likewise.
* config/arm/arm.c (arm_barrier_cost): Likewise.
* config/avr/avr.c (avr_reorg): Likewise.
* config/bfin/bfin.c (workaround_speculation): Likewise.
(add_sched_insns_for_speculation): Likewise.
* config/i386/i386.c (ix86_init_pic_reg): Likewise.
(ix86_emit_save_regs): Likewise.
(get_scratch_register_on_entry): Likewise.
(ix86_emit_restore_reg_using_pop): Likewise.
(ix86_emit_leave): Likewise.
(ix86_emit_restore_regs_using_mov): Likewise.
(ix86_expand_epilogue): Likewise.
* config/rl78/rl78.c (rl78_alloc_physical_registers_cmp):
Likewise.
(rl78_alloc_physical_registers_umul): Likewise.
* config/sh/sh.md: Likewise.
* cselib.c (discard_useless_locs): Likewise.
(cselib_invalidate_regno): Likewise.
(cselib_invalidate_mem): Likewise.
* function.c (expand_function_start): Likewise.
(emit_use_return_register_into_block): Likewise.
* gcse.c: Likewise.
* haifa-sched.c (ok_for_early_queue_removal): Likewise.
* ifcvt.c (noce_get_alt_condition): Likewise.
* loop-doloop.c (doloop_condition_get): Likewise.
* lra-constraints.c (inherit_in_ebb): Likewise.
* modulo-sched.c (sms_schedule_by_order): Likewise.
* recog.c (next_insn_tests_no_inequality): Likewise.
* reorg.c (emit_delay_sequence): Likewise.
(update_reg_dead_notes): Likewise.
(fix_reg_dead_note): Likewise.
(fill_slots_from_thread): Likewise.
(delete_computation): Likewise.
From-SVN: r222730
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index e9af7b7..a0674e4 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -535,7 +535,7 @@ emit_delay_sequence (rtx_insn *insn, rtx_insn_list *list, int length) /* Unlink INSN from the insn chain, so that we can put it into the SEQUENCE. Remember where we want to emit SEQUENCE in AFTER. */ - rtx after = PREV_INSN (insn); + rtx_insn *after = PREV_INSN (insn); remove_insn (insn); SET_NEXT_INSN (insn) = SET_PREV_INSN (insn) = NULL; @@ -1809,7 +1809,8 @@ reorg_redirect_jump (rtx_insn *jump, rtx nlabel) static void update_reg_dead_notes (rtx insn, rtx delayed_insn) { - rtx p, link, next; + rtx link, next; + rtx_insn *p; for (p = next_nonnote_insn (insn); p != delayed_insn; p = next_nonnote_insn (p)) @@ -1842,7 +1843,8 @@ update_reg_dead_notes (rtx insn, rtx delayed_insn) static void fix_reg_dead_note (rtx start_insn, rtx stop_insn) { - rtx p, link, next; + rtx link, next; + rtx_insn *p; for (p = next_nonnote_insn (start_insn); p != stop_insn; p = next_nonnote_insn (p)) @@ -2693,7 +2695,7 @@ fill_slots_from_thread (rtx_insn *insn, rtx condition, rtx thread_or_return, && REG_P (SET_DEST (pat)) && !reg_overlap_mentioned_p (SET_DEST (pat), SET_SRC (pat))) { - rtx next = next_nonnote_insn (trial); + rtx_insn *next = next_nonnote_insn (trial); if (next && NONJUMP_INSN_P (next) && GET_CODE (PATTERN (next)) != USE @@ -3121,7 +3123,7 @@ delete_computation (rtx insn) if (HAVE_cc0 && reg_referenced_p (cc0_rtx, PATTERN (insn))) { - rtx prev = prev_nonnote_insn (insn); + rtx_insn *prev = prev_nonnote_insn (insn); /* We assume that at this stage CC's are always set explicitly and always immediately before the jump that |