summaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-25 20:15:36 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-25 20:15:36 +0000
commit3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753 (patch)
tree32fa4b7ac18f8b0e215b46263ff0a089a70a3487 /gcc/cfgexpand.c
parentd8ce2eae8471ebabcc3c7c8af1b0b992911543c3 (diff)
downloadgcc-3ffa95c25f3f98adb2a5cdb7419a5ffa1e7bc753.tar.gz
Convert edge_def.insns.r to rtx_insn *
gcc/ * basic-block.h (struct edge_def). Strengthen "r" within union edge_def_insns from rtx to rtx_insn *. * cfgexpand.c (pass_expand::execute): Remove now-redundant cast from rtx to rtx_insn *. Strengthen local "insns" from rtx to rtx_insn *. * cfgrtl.c (commit_one_edge_insertion): Remove now-redundant cast from rtx to rtx_insn *. * cprop.c (find_bypass_set): Strengthen local "insn" from rtx to rtx_insn *. * postreload-gcse.c (reg_killed_on_edge): Likewise. (reg_used_on_edge): Likewise. * tree-cfg.c (gt_ggc_mx): New overload for rtx_insn *&. (gt_pch_nx): New overload for rtx_insn *&. * tree-outof-ssa.c (expand_phi_nodes): Strengthen local "insns" from rtx to rtx_insn *. From-SVN: r214471
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 16762941a35..6c2b693c310 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -5865,14 +5865,14 @@ pass_expand::execute (function *fun)
{
if (e->insns.r)
{
- rebuild_jump_labels_chain (as_a <rtx_insn *> (e->insns.r));
+ rebuild_jump_labels_chain (e->insns.r);
/* Put insns after parm birth, but before
NOTE_INSNS_FUNCTION_BEG. */
if (e->src == ENTRY_BLOCK_PTR_FOR_FN (fun)
&& single_succ_p (ENTRY_BLOCK_PTR_FOR_FN (fun)))
{
- rtx insns = e->insns.r;
- e->insns.r = NULL_RTX;
+ rtx_insn *insns = e->insns.r;
+ e->insns.r = NULL;
if (NOTE_P (parm_birth_insn)
&& NOTE_KIND (parm_birth_insn) == NOTE_INSN_FUNCTION_BEG)
emit_insn_before_noloc (insns, parm_birth_insn, e->dest);