diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2014-09-03 00:52:11 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2014-09-03 00:52:11 +0000 |
commit | 19f8b22971b1aeaa929eb3e3834cc24da1932f12 (patch) | |
tree | e28f89f967e112a1f7b08b7f9ca06abd3d852eef /gcc/stmt.c | |
parent | b20ee094dfddac8641eca9248998e89686f8ba38 (diff) | |
download | gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.zip gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.gz gcc-19f8b22971b1aeaa929eb3e3834cc24da1932f12.tar.bz2 |
use rtx_code_label more
gcc/
* asan.c, cfgexpand.c, config/alpha/alpha.md, config/arm/arm.c,
config/epiphany/epiphany.md, config/h8300/h8300.c, config/i386/i386.md,
config/m32r/m32r.c, config/mcore/mcore.md, config/mips/mips.c,
config/mips/mips.md, config/nios2/nios2.c, config/pa/pa.c,
config/s390/s390.c, config/s390/s390.md, config/sh/sh-mem.cc,
config/sh/sh.c, config/sparc/sparc.c, dojump.c, function.c, optabs.c,
stmt.c: Assign the result of gen_label_rtx to rtx_code_label * instead
of rtx.
From-SVN: r214841
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,7 +127,7 @@ label_rtx (tree label) if (!DECL_RTL_SET_P (label)) { - rtx r = gen_label_rtx (); + rtx_code_label *r = gen_label_rtx (); SET_DECL_RTL (label, r); if (FORCED_LABEL (label) || DECL_NONLOCAL (label)) LABEL_PRESERVE_P (r) = 1; @@ -971,7 +971,7 @@ emit_case_dispatch_table (tree index_expr, tree index_type, struct case_node *n; rtx *labelvec; rtx fallback_label = label_rtx (case_list->code_label); - rtx table_label = gen_label_rtx (); + rtx_code_label *table_label = gen_label_rtx (); bool has_gaps = false; edge default_edge = stmt_bb ? EDGE_SUCC (stmt_bb, 0) : NULL; int default_prob = default_edge ? default_edge->probability : 0; @@ -1331,7 +1331,7 @@ expand_sjlj_dispatch_table (rtx dispatch_index, tree minval = build_int_cst (index_type, 0); tree maxval = CASE_LOW (dispatch_table.last ()); tree range = maxval; - rtx default_label = gen_label_rtx (); + rtx_code_label *default_label = gen_label_rtx (); for (int i = ncases - 1; i >= 0; --i) { |