make tablejump_p return the label as a rtx_insn *
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Fri, 21 Oct 2016 12:33:01 +0000 (12:33 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Fri, 21 Oct 2016 12:33:01 +0000 (12:33 +0000)
commitdfe08bc4ef2810b98e0ce8ffca4155ad304e0429
tree7505bb0ce717bce964eebacad7985b4354429147
parent04a121a757f20a4807d47e1d0c7418145b147d69
make tablejump_p return the label as a rtx_insn *

gcc/ChangeLog:

2016-10-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* cfgcleanup.c (merge_blocks_move_successor_nojumps): Adjust.
(outgoing_edges_match): Likewise.
(try_crossjump_to_edge): Likewise.
* cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
(rtl_tidy_fallthru_edge): Likewise.
* rtl.h (tablejump_p): Adjust prototype.
* rtlanal.c (tablejump_p): Return the label as a rtx_insn *.

From-SVN: r241402
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfgrtl.c
gcc/rtl.h
gcc/rtlanal.c