Drop uncast_insn from param 1 of final_scan_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Sep 2014 14:04:46 +0000 (14:04 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Sep 2014 14:04:46 +0000 (14:04 +0000)
commit7fa55ff675da902516b0e0624e8436b823122963
treef511f0ad87a62f6b42667d2184981b61488818e9
parent75677a6759750582b0aa92b3409d0061b4f66739
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".

From-SVN: r214961
gcc/ChangeLog
gcc/config/h8300/h8300.md
gcc/config/mips/mips.c
gcc/config/sh/sh.c
gcc/final.c
gcc/output.h