Drop uncast_insn from param 1 of final_scan_insn
commitcdf962b7803b6f7479a00f3a71c0a71416e5f251
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:04:46 +0000 (5 14:04 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:04:46 +0000 (5 14:04 +0000)
treef511f0ad87a62f6b42667d2184981b61488818e9
parentae9c1c11697dcde01c765abe4c7298893a9cf912
Drop uncast_insn from param 1 of final_scan_insn

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* output.h (final_scan_insn): Strengthen first param from rtx to
rtx_insn *.

* final.c (final_scan_insn): Likewise, renaming it back from
"uncast_insn" to "insn", eliminating the checked cast.

* config/h8300/h8300.md (define_insn "jump"): Replace local rtx
"vec" with an rtx_sequence * "seq", taking a copy of
"final_sequence", and using methods of "seq" for clarity, and for
type-safety in the calls to final_scan_insn.
* config/mips/mips.c (mips_output_conditional_branch): Use methods
of "final_sequence" for clarity, and for type-safety in the call to
final_scan_insn.
* config/sh/sh.c (print_slot): Strengthen param from rtx to
rtx_sequence * and rename from "insn" to "seq".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214961 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/h8300/h8300.md
gcc/config/mips/mips.c
gcc/config/sh/sh.c
gcc/final.c
gcc/output.h