This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] sh: update for emit-rtl.h changes


On 06/12/2018 12:54 PM, David Malcolm wrote:
> gcc/ChangeLog:
> 	* config/sh/sh-protos.h (get_dest_uid): Strengthen 1st param from
> 	rtx to rtx_insn *.
> 	* config/sh/sh.c (dump_table): Strengthen local "lab" from rtx to
> 	rtx_code_label *, adding safe_as_a <rtx_code_label *> casts to
> 	the loops over LABEL_REFS.
> 	(fixup_addr_diff_vecs): Add as_a <rtx_insn *> to usage of
> 	braf_label.
> 	(barrier_align): Convert usage of JUMP_LABEL to JUMP_LABEL_AS_INSN.
> 	(get_dest_uid): Strengthen param "label" from rtx to rtx_insn *.
> 	(split_branches): Strengthen local "olabel" from rtx to
> 	rtx_insn *, adding a safe_as_a cast.
> ---
>  gcc/config/sh/sh-protos.h |  2 +-
>  gcc/config/sh/sh.c        | 30 ++++++++++++++++++------------
>  2 files changed, 19 insertions(+), 13 deletions(-)
>
OK when prereqs are approved.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]