aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-02 21:03:53 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-02 21:03:53 +0000
commit21afc57d0821ae800a4a796bb999c919de84222c (patch)
treeae3aefb83be277df16789b73b7f18ff32a473265 /gcc/gcse.c
parent563777d7fc12734a838980284a62c6330e1dfd72 (diff)
downloadgcc-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/gcse.c')
-rw-r--r--gcc/gcse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index e4303fe..cf02bab 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -573,7 +573,8 @@ compute_can_copy (void)
{
int i;
#ifndef AVOID_CCMODE_COPIES
- rtx reg, insn;
+ rtx reg;
+ rtx_insn *insn;
#endif
memset (can_copy, 0, NUM_MACHINE_MODES);