config/picochip: Use rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 25 Aug 2014 18:43:33 +0000 (18:43 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 25 Aug 2014 18:43:33 +0000 (18:43 +0000)
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".

From-SVN: r214453

gcc/ChangeLog
gcc/config/picochip/picochip-protos.h
gcc/config/picochip/picochip.c

index e6cef7f..5f65301 100644 (file)
@@ -1,5 +1,13 @@
 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
 
+       * 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".
+
+2014-08-25  David Malcolm  <dmalcolm@redhat.com>
+
        * config/pa/pa-protos.h (pa_output_call): Strengthen first param
        from rtx to rtx_insn *.
        (pa_output_indirect_call): Likewise.
index 4d8dfd6..e7efc40 100644 (file)
@@ -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);
index 1894fad..b6ce5fc 100644 (file)
@@ -164,7 +164,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;
 
@@ -3873,7 +3873,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;