From bd7de269f3cdf254829e0e411402c053b9552335 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Mon, 25 Aug 2014 18:43:33 +0000 Subject: [PATCH] config/picochip: Use rtx_insn 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 | 8 ++++++++ gcc/config/picochip/picochip-protos.h | 3 ++- gcc/config/picochip/picochip.c | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e6cef7f..5f65301 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2014-08-25 David Malcolm + * 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 + * config/pa/pa-protos.h (pa_output_call): Strengthen first param from rtx to rtx_insn *. (pa_output_indirect_call): Likewise. 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 1894fadf..b6ce5fc 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -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; -- 2.7.4