From: Trevor Saunders <[email protected]>
gcc/ChangeLog:
* config/aarch64/aarch64.md (doloop_end): Use an rtx_insn *.
* config/c6x/c6x.cc (insn_set_clock, insn_get_clock): Pass an rtx_insn
*.
* config/ia64/ia64.cc (ia64_gen_spec_load): Likewise.
* config/mips/mips.cc (mips16_copy_fpr_return_value): Use an rtx_insn *.
* config/rs6000/rs6000.md (allocate_stack): Likewise.
* config/s390/s390.cc (s390_find_execute): Pass an rtx_insn *.
* config/sh/sh.md (sibcall_pcrel): Use an rtx_insn *.
* var-tracking.cc (reemit_marker_as_note): Use an rtx_note *.
---
gcc/config/aarch64/aarch64.md | 2 +-
gcc/config/c6x/c6x.cc | 4 ++--
gcc/config/ia64/ia64.cc | 2 +-
gcc/config/mips/mips.cc | 3 ++-
gcc/config/rs6000/rs6000.md | 3 ++-
gcc/config/s390/s390.cc | 2 +-
gcc/config/sh/sh.md | 2 +-
gcc/var-tracking.cc | 2 +-
8 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 8d0e50db272..98239223098 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -8538,7 +8538,7 @@
rtx bcomp;
rtx loc_ref;
rtx cc_reg;
- rtx insn;
+ rtx_insn *insn;
rtx cmp;
/* Currently SMS relies on the do-loop pattern to recognize loops
diff --git a/gcc/config/c6x/c6x.cc b/gcc/config/c6x/c6x.cc
index 936f3c88593..49ff3087ed6 100644
--- a/gcc/config/c6x/c6x.cc
+++ b/gcc/config/c6x/c6x.cc
@@ -3695,7 +3695,7 @@ record_jump (int cycle, rtx cond)
/* Set the clock cycle of INSN to CYCLE. Also clears the insn's entry in
new_conditions. */
static void
-insn_set_clock (rtx insn, int cycle)
+insn_set_clock (rtx_insn *insn, int cycle)
{
unsigned uid = INSN_UID (insn);
@@ -3717,7 +3717,7 @@ insn_uid_get_clock (int uid)
/* Return the clock cycle we set for INSN. */
static int
-insn_get_clock (rtx insn)
+insn_get_clock (rtx_insn *insn)
{
return insn_uid_get_clock (INSN_UID (insn));
}
diff --git a/gcc/config/ia64/ia64.cc b/gcc/config/ia64/ia64.cc
index 9ee3ab5ed40..221388c43c8 100644
--- a/gcc/config/ia64/ia64.cc
+++ b/gcc/config/ia64/ia64.cc
@@ -8334,7 +8334,7 @@ ia64_get_insn_checked_ds (rtx_insn *insn)
MODE_NO and with ZERO_EXTEND (if EXTEND_P is true).
If GEN_P is false, just calculate the index of needed speculation check. */
static rtx
-ia64_gen_spec_load (rtx insn, ds_t ts, int mode_no)
+ia64_gen_spec_load (rtx_insn *insn, ds_t ts, int mode_no)
{
rtx pat, new_pat;
gen_func_t gen_load;
diff --git a/gcc/config/mips/mips.cc b/gcc/config/mips/mips.cc
index 31afbb22eb0..1f918d51c45 100644
--- a/gcc/config/mips/mips.cc
+++ b/gcc/config/mips/mips.cc
@@ -7865,7 +7865,8 @@ mips16_build_function_stub (void)
static void
mips16_copy_fpr_return_value (void)
{
- rtx fn, insn, retval;
+ rtx fn, retval;
+ rtx_insn *insn;
tree return_type;
machine_mode return_mode;
const char *name;
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 135e21ea99f..7fc5d745a89 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -11108,7 +11108,8 @@
rtx chain = gen_reg_rtx (Pmode);
rtx stack_bot = gen_rtx_MEM (Pmode, stack_pointer_rtx);
rtx neg_op0;
- rtx insn, par, set, mem;
+ rtx_insn *insn;
+ rtx par, set, mem;
/* By allowing reg_or_cint_operand as the predicate we can get
better code for stack-clash-protection because we do not lose
diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc
index a73cc5cdf66..fb17029bac3 100644
--- a/gcc/config/s390/s390.cc
+++ b/gcc/config/s390/s390.cc
@@ -9950,7 +9950,7 @@ s390_execute_label (rtx insn)
the pool to the location of the execute target. */
static rtx
-s390_find_execute (struct constant_pool *pool, rtx insn)
+s390_find_execute (struct constant_pool *pool, rtx_insn *insn)
{
struct constant *c;
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 82304cb9dbb..1f5830ba3af 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -7303,7 +7303,7 @@
[(const_int 0)]
{
rtx lab = PATTERN (gen_call_site ());
- rtx call_insn;
+ rtx_insn *call_insn;
sh_expand_sym_label2reg (operands[2], operands[0], lab, true);
call_insn = emit_call_insn (gen_sibcalli_pcrel (operands[2], operands[1],
diff --git a/gcc/var-tracking.cc b/gcc/var-tracking.cc
index a24de59c2a3..9781dd33de2 100644
--- a/gcc/var-tracking.cc
+++ b/gcc/var-tracking.cc
@@ -10025,7 +10025,7 @@ reemit_marker_as_note (rtx_insn *insn)
case NOTE_INSN_BEGIN_STMT:
case NOTE_INSN_INLINE_ENTRY:
{
- rtx_insn *note = NULL;
+ rtx_note *note = NULL;
if (cfun->debug_nonbind_markers)
{
note = emit_note_before (kind, insn);
--
2.53.0