jump.c: Use rtx_insn in a few places (also touches rtl.h and cfgexpand.c)
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 22 Aug 2014 18:03:59 +0000 (18:03 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 22 Aug 2014 18:03:59 +0000 (18:03 +0000)
commitb47f38a520f61eccd0bb16387d948f0d5eca017d
tree0f66caa868d223dc9556765ee61daeb9af06c1f8
parent070a1983b3abcec2f457443961ae64d97975cfd4
jump.c: Use rtx_insn in a few places (also touches rtl.h and cfgexpand.c)

gcc/
* rtl.h (rebuild_jump_labels): Strengthen param "f" from rtx to
rtx_insn *.
(rebuild_jump_labels_chain): Likewise for param "chain".

* cfgexpand.c (pass_expand::execute): Add checked cast to
rtx_insn * when calling rebuild_jump_labels_chain in region where
we know e->insns.r is non-NULL.

* jump.c (rebuild_jump_labels_1): Strengthen param "f" from rtx to
rtx_insn *.
(rebuild_jump_labels): Likewise.
(rebuild_jump_labels_chain): Likewise for param "chain".
(cleanup_barriers): Likewise for locals "insn", "next", "prev".
(init_label_info): Likewise for param "f".
(maybe_propagate_label_ref): Likewise for params "jump_insn",
"prev_nonjump_insn".
(mark_all_labels): Likewise for param "f" and locals "insn",
"prev_nonjump_insn".

From-SVN: r214341
gcc/ChangeLog
gcc/cfgexpand.c
gcc/jump.c
gcc/rtl.h