summaryrefslogtreecommitdiff
path: root/gcc/cprop.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:15:36 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:15:36 +0000
commitae5e64868742c3b751138496606fb486026165b4 (patch)
tree32fa4b7ac18f8b0e215b46263ff0a089a70a3487 /gcc/cprop.c
parent943ea6fa1b4405152181b4968dd8a01ee73fa90e (diff)
downloadgcc-ae5e64868742c3b751138496606fb486026165b4.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 *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r--gcc/cprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c
index 1f73781bb11..fa77faac51f 100644
--- a/gcc/cprop.c
+++ b/gcc/cprop.c
@@ -1470,7 +1470,7 @@ find_bypass_set (int regno, int bb)
static bool
reg_killed_on_edge (const_rtx reg, const_edge e)
{
- rtx insn;
+ rtx_insn *insn;
for (insn = e->insns.r; insn; insn = NEXT_INSN (insn))
if (INSN_P (insn) && reg_set_p (reg, insn))