From: David Malcolm Date: Mon, 25 Aug 2014 18:56:29 +0000 (+0000) Subject: config/rx: Use rtx_insn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3df4ecc207bec6cb1d570790b5325b9aa2d5ee30;p=gcc.git config/rx: Use rtx_insn gcc/ * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first param from rtx to rtx_insn *. * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn". From-SVN: r214455 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8955550556a..52c7f8ea235 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-08-25 David Malcolm + + * config/rx/rx-protos.h (rx_adjust_insn_length): Strengthen first + param from rtx to rtx_insn *. + * config/rx/rx.c (rx_adjust_insn_length): Likewise for param "insn". + 2014-08-25 David Malcolm * config/rs6000/rs6000-protos.h (output_cbranch): Strengthen param diff --git a/gcc/config/rx/rx-protos.h b/gcc/config/rx/rx-protos.h index 189afb07ebc..6cfa8fc8765 100644 --- a/gcc/config/rx/rx-protos.h +++ b/gcc/config/rx/rx-protos.h @@ -27,7 +27,7 @@ extern void rx_expand_prologue (void); extern int rx_initial_elimination_offset (int, int); #ifdef RTX_CODE -extern int rx_adjust_insn_length (rtx, int); +extern int rx_adjust_insn_length (rtx_insn *, int); extern int rx_align_for_label (rtx, int); extern void rx_emit_stack_popm (rtx *, bool); extern void rx_emit_stack_pushm (rtx *); diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 757f141eb7b..549a44320a6 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -3237,7 +3237,7 @@ rx_max_skip_for_label (rtx lab) /* Compute the real length of the extending load-and-op instructions. */ int -rx_adjust_insn_length (rtx insn, int current_length) +rx_adjust_insn_length (rtx_insn *insn, int current_length) { rtx extend, mem, offset; bool zero;