Remove BB_FOOTER scaffolding
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 25 Aug 2014 20:13:26 +0000 (20:13 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 25 Aug 2014 20:13:26 +0000 (20:13 +0000)
commitd8ce2eae8471ebabcc3c7c8af1b0b992911543c3
treed837dad15df81c222f78bd99ab27cf37974cfb94
parentbe7457df4dc64f828597185dddffe696e5290a21
Remove BB_FOOTER scaffolding

gcc/
* basic-block.h (struct rtl_bb_info): Strengthen field "footer_"
from rtx to rtx_insn *.
(BB_FOOTER): Replace function with access macro.
(SET_BB_FOOTER): Delete.

* cfgcleanup.c (try_optimize_cfg): Replace uses of SET_BB_FOOTER
with BB_FOOTER.
* cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
(emit_barrier_after_bb): Likewise.
(record_effective_endpoints): Likewise.
(relink_block_chain): Likewise.
(fixup_fallthru_exit_predecessor): Likewise.
(cfg_layout_duplicate_bb): Likewise.
(cfg_layout_split_block): Likewise.
(cfg_layout_delete_block): Likewise.
(cfg_layout_merge_blocks): Likewise.
(BB_FOOTER): Delete function.
(SET_BB_FOOTER): Delete function.
* combine.c (update_cfg_for_uncondjump): Replace uses of
SET_BB_FOOTER with BB_FOOTER.

/
* rtx-classes-status.txt (TODO): Remove SET_BB_FOOTER.

From-SVN: r214470
ChangeLog
gcc/ChangeLog
gcc/basic-block.h
gcc/cfgcleanup.c
gcc/cfgrtl.c
gcc/combine.c
rtx-classes-status.txt