diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-06 13:14:45 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-06 13:14:45 +0000 |
commit | e67d1102e0d55effe57427369957351d206f6475 (patch) | |
tree | ae5222f0b206b4fe1455b6bf791013c65d7bdbb5 /gcc/except.c | |
parent | ad42dbbebaca32f857812b2285c8e4462bb0c688 (diff) | |
download | gcc-e67d1102e0d55effe57427369957351d206f6475.tar.gz |
emit-rtl.c, [...]: Replace rtx base types with more derived ones.
gcc/
* emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c,
rtl.h, bb-reorder.c, builtins.c, calls.c, cfgbuild.c, cfgexpand.c,
cfgrtl.c, cilk-common.c, config/i386/i386.md, cse.c, dwarf2cfi.c,
except.c, final.c, function.c, gcse-common.c, genemit.c,
haifa-sched.c, ifcvt.c, jump.c, loop-invariant.c, loop-iv.c,
lra-constraints.c, lra.c, reload1.c, resource.c, rtlanal.c,
sched-deps.c, sched-ebb.c, sel-sched-ir.c, sel-sched.c,
shrink-wrap.c, stmt.c, store-motion.c: Replace rtx base types with
more derived ones.
From-SVN: r224187
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gcc/except.c b/gcc/except.c index 9a06fdc4933..c946efb570c 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -1299,9 +1299,8 @@ sjlj_emit_dispatch_table (rtx_code_label *dispatch_label, int num_dispatch) machine_mode unwind_word_mode = targetm.unwind_word_mode (); machine_mode filter_mode = targetm.eh_return_filter_mode (); eh_landing_pad lp; - rtx mem, fc, before, exc_ptr_reg, filter_reg; + rtx mem, fc, exc_ptr_reg, filter_reg; rtx_insn *seq; - rtx first_reachable_label; basic_block bb; eh_region r; edge e; @@ -1348,7 +1347,7 @@ sjlj_emit_dispatch_table (rtx_code_label *dispatch_label, int num_dispatch) /* Jump to one of the directly reachable regions. */ disp_index = 0; - first_reachable_label = NULL; + rtx_code_label *first_reachable_label = NULL; /* If there's exactly one call site in the function, don't bother generating a switch statement. */ @@ -1391,7 +1390,7 @@ sjlj_emit_dispatch_table (rtx_code_label *dispatch_label, int num_dispatch) seq2 = get_insns (); end_sequence (); - before = label_rtx (lp->post_landing_pad); + rtx_insn *before = label_rtx (lp->post_landing_pad); bb = emit_to_new_bb_before (seq2, before); e = make_edge (bb, bb->next_bb, EDGE_FALLTHRU); e->count = bb->count; @@ -1684,7 +1683,7 @@ for_each_eh_label (void (*callback) (rtx)) { if (lp) { - rtx lab = lp->landing_pad; + rtx_code_label *lab = lp->landing_pad; if (lab && LABEL_P (lab)) (*callback) (lab); } @@ -2518,7 +2517,7 @@ convert_to_eh_region_ranges (void) rtx_insn *first_no_action_insn = NULL; int call_site = 0; int cur_sec = 0; - rtx section_switch_note = NULL_RTX; + rtx_insn *section_switch_note = NULL; rtx_insn *first_no_action_insn_before_switch = NULL; rtx_insn *last_no_action_insn_before_switch = NULL; int saved_call_site_base = call_site_base; @@ -2532,7 +2531,7 @@ convert_to_eh_region_ranges (void) eh_region region; bool nothrow; int this_action; - rtx this_landing_pad; + rtx_code_label *this_landing_pad; insn = iter; if (NONJUMP_INSN_P (insn) @@ -2563,7 +2562,7 @@ convert_to_eh_region_ranges (void) if (this_action >= 0) this_landing_pad = lp->landing_pad; else - this_landing_pad = NULL_RTX; + this_landing_pad = NULL; /* Differing actions or landing pads implies a change in call-site info, which implies some EH_REGION note should be emitted. */ @@ -3266,7 +3265,7 @@ dump_eh_tree (FILE * out, struct function *fun) fprintf (out, "(nil),"); if (lp->post_landing_pad) { - rtx lab = label_rtx (lp->post_landing_pad); + rtx_insn *lab = label_rtx (lp->post_landing_pad); fprintf (out, "%i%s}", INSN_UID (lab), NOTE_P (lab) ? "(del)" : ""); } |