gcc/
        * config/picochip/picochip-protos.h (picochip_final_prescan_insn):
        Strengthen param "insn" from rtx to rtx_insn *.
        * config/picochip/picochip.c (picochip_current_prescan_insn):
        Likewise for this variable.
        (picochip_final_prescan_insn): Likewise for param "insn".
---
 gcc/config/picochip/picochip-protos.h | 3 ++-
 gcc/config/picochip/picochip.c        | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gcc/config/picochip/picochip-protos.h 
b/gcc/config/picochip/picochip-protos.h
index 4d8dfd6..e7efc40 100644
--- a/gcc/config/picochip/picochip-protos.h
+++ b/gcc/config/picochip/picochip-protos.h
@@ -73,7 +73,8 @@ extern rtx picochip_get_high_const (rtx value);
 extern void picochip_expand_prologue (void);
 extern void picochip_expand_epilogue (int is_sibling_call);
 
-extern void picochip_final_prescan_insn (rtx insn, rtx * operand, int 
num_operands);
+extern void picochip_final_prescan_insn (rtx_insn *insn, rtx * operand,
+                                        int num_operands);
 extern const char *picochip_asm_output_opcode (FILE * f, const char *ptr);
 
 extern int picochip_check_conditional_copy (rtx * operands);
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c
index 25802ef..3151ec1 100644
--- a/gcc/config/picochip/picochip.c
+++ b/gcc/config/picochip/picochip.c
@@ -163,7 +163,7 @@ static int picochip_vliw_continuation = 0;
    between final_prescan_insn and functions such as asm_output_opcode,
    and picochip_get_vliw_alu_id (which are otherwise unable to determine the
    current instruction. */
-static rtx picochip_current_prescan_insn;
+static rtx_insn *picochip_current_prescan_insn;
 
 static bool picochip_is_delay_slot_pending = 0;
 
@@ -3872,7 +3872,7 @@ picochip_rtx_costs (rtx x, int code, int outer_code 
ATTRIBUTE_UNUSED,
 }
 
 void
-picochip_final_prescan_insn (rtx insn, rtx * opvec ATTRIBUTE_UNUSED,
+picochip_final_prescan_insn (rtx_insn *insn, rtx * opvec ATTRIBUTE_UNUSED,
                             int num_operands ATTRIBUTE_UNUSED)
 {
   rtx local_insn;
-- 
1.8.5.3

Reply via email to