aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rl78
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2016-09-22 13:16:11 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2016-09-22 13:16:11 +0000
commit82082f658e42c072e780b50744bbf93e8b1ee949 (patch)
treeb8ae943384e3822fe153517923d18a6b0a8acc9a /gcc/config/rl78
parentd94a7ab41897e110ad1e02379f2a6aaedb88a66f (diff)
downloadgcc-82082f658e42c072e780b50744bbf93e8b1ee949.zip
gcc-82082f658e42c072e780b50744bbf93e8b1ee949.tar.gz
gcc-82082f658e42c072e780b50744bbf93e8b1ee949.tar.bz2
use rtx_insn * more
gcc/ChangeLog: 2016-09-22 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config/arc/arc-protos.h (arc_label_align): Change type of variables from rtx to rtx_insn *. * config/arc/arc.c (arc_label_align): Likewise. * config/arm/arm.c (any_sibcall_could_use_r3): Likewise. * config/bfin/bfin.c (workaround_speculation): Likewise. * config/c6x/c6x.c (find_next_cycle_insn): Likewise. (find_last_same_clock): Likewise. (reorg_split_calls): Likewise. * config/cris/cris-protos.h (cris_cc0_user_requires_cmp): Likewise. * config/cris/cris.c (cris_cc0_user_requires_cmp): Likewise. * config/h8300/h8300-protos.h (same_cmp_preceding_p): Likewise. (same_cmp_following_p): Likewise. * config/h8300/h8300.c (same_cmp_preceding_p): Likewise. (same_cmp_following_p): Likwise. * config/m32r/m32r.c (m32r_expand_epilogue): Likewise. * config/nds32/nds32-protos.h (nds32_target_alignment): Likewise. * config/nds32/nds32.c (nds32_target_alignment): Likewise. * config/rl78/rl78.c (rl78_alloc_physical_registers_op2): * Likewise. (rl78_alloc_physical_registers_cmp): Likewise. (rl78_alloc_physical_registers_umul): Likewise. (rl78_calculate_death_notes): Likewise. * config/s390/s390-protos.h (s390_label_align): Likewise. * config/s390/s390.c (s390_label_align): Likewise. * config/sh/sh.c (barrier_align): Likewise. * config/sparc/sparc-protos.h (emit_cbcond_nop): Likewise. * config/sparc/sparc.c (sparc_asm_function_epilogue): Likewise. (emit_cbcond_nop): Likewise. From-SVN: r240356
Diffstat (limited to 'gcc/config/rl78')
-rw-r--r--gcc/config/rl78/rl78.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index ecbf6f9..a4e4be2 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -3153,8 +3153,8 @@ has_constraint (unsigned int opnum, enum constraint_num constraint)
static void
rl78_alloc_physical_registers_op2 (rtx_insn * insn)
{
- rtx prev;
- rtx first;
+ rtx_insn *prev;
+ rtx_insn *first;
bool hl_used;
int tmp_id;
rtx saved_op1;
@@ -3332,7 +3332,7 @@ rl78_alloc_physical_registers_cmp (rtx_insn * insn)
int tmp_id;
rtx saved_op1;
rtx_insn *prev = prev_nonnote_nondebug_insn (insn);
- rtx first;
+ rtx_insn *first;
OP (1) = transcode_memory_rtx (OP (1), DE, insn);
OP (2) = transcode_memory_rtx (OP (2), HL, insn);
@@ -3423,7 +3423,7 @@ static void
rl78_alloc_physical_registers_umul (rtx_insn * insn)
{
rtx_insn *prev = prev_nonnote_nondebug_insn (insn);
- rtx first;
+ rtx_insn *first;
int tmp_id;
rtx saved_op1;
@@ -3793,7 +3793,8 @@ static void
rl78_calculate_death_notes (void)
{
char dead[FIRST_PSEUDO_REGISTER];
- rtx insn, p, s, d;
+ rtx p, s, d;
+rtx_insn *insn;
int i;
memset (dead, 0, sizeof (dead));