The following patches are followups to the 236-patch kit; they use the new classes in more places, in some cases eliminating checked casts, and should enable some bigger cleanups that I'm working towards (e.g. converting the params of single_set and recog_memoized to require rtx_insn * rather than just an rtx).
They're each *not* covered by the pre-approval granted by Jeff, since they do things beyond merely changing types. I've bootstrapped them all on x86_64-unknown-linux-gnu (Fedora 20), and rebuilt the entire series as part of a config-list.mk build, for all working configurations. OK for trunk? David Malcolm (10): Use rtx_jump_table_data in jump.c:delete_related_insns Drop uncast_insn from param 1 of final_scan_insn for_each_eh_label callbacks take an rtx_code_label Eliminate the checked cast from get_call_reg_set_usage Convert set_block_for_insn from a macro to an inline function Use rtx_insn more within peep2 Use rtx_insn for more scheduler things, plus CONST_CAST_RTX_INSN Use rtx_insn_list within haifa-sched.c Simplification within reorg.c Use rtx_insn for various jump-handling functions and predicates gcc/basic-block.h | 2 - gcc/caller-save.c | 2 +- gcc/config/arc/arc.c | 4 +- gcc/config/bfin/bfin.c | 2 +- gcc/config/frv/frv.c | 4 +- gcc/config/h8300/h8300.c | 12 ++--- gcc/config/h8300/h8300.md | 10 ++-- gcc/config/mips/mips.c | 8 +-- gcc/config/mn10300/mn10300.c | 4 +- gcc/config/sh/sh.c | 8 +-- gcc/config/sh/sh_optimize_sett_clrt.cc | 4 +- gcc/except.c | 6 +-- gcc/except.h | 2 +- gcc/final.c | 7 +-- gcc/function.c | 2 +- gcc/haifa-sched.c | 29 +++++------ gcc/ifcvt.c | 4 +- gcc/jump.c | 36 ++++++------- gcc/output.h | 2 +- gcc/recog.c | 9 ++-- gcc/regs.h | 2 +- gcc/reload1.c | 2 +- gcc/reorg.c | 46 +++++++++-------- gcc/resource.c | 11 ++-- gcc/rtl.h | 31 ++++++----- gcc/rtlanal.c | 2 +- gcc/sched-deps.c | 94 +++++++++++++++++----------------- gcc/sched-int.h | 7 +-- gcc/sel-sched-ir.c | 2 +- gcc/sel-sched-ir.h | 2 +- gcc/system.h | 1 + 31 files changed, 184 insertions(+), 173 deletions(-) -- 1.8.5.3