gcc/
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
rtx_insn *.
* cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
"to" and locals "insn", "next", "copy". Remove now-redundant
checked cast.
From-SVN: r214544
+2014-08-26 David Malcolm <dmalcolm@redhat.com>
+
+ * rtl.h (duplicate_insn_chain): Strengthen both params from rtx to
+ rtx_insn *.
+ * cfgrtl.c (duplicate_insn_chain): Likewise for params "from",
+ "to" and locals "insn", "next", "copy". Remove now-redundant
+ checked cast.
+
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* rtl.h (canonicalize_condition): Strengthen param 1 from rtx to
}
rtx_insn *
-duplicate_insn_chain (rtx from, rtx to)
+duplicate_insn_chain (rtx_insn *from, rtx_insn *to)
{
- rtx insn, next, copy;
+ rtx_insn *insn, *next, *copy;
rtx_note *last;
/* Avoid updating of boundaries of previous basic block. The
}
insn = NEXT_INSN (last);
delete_insn (last);
- return safe_as_a <rtx_insn *> (insn);
+ return insn;
}
/* Create a duplicate of the basic block BB. */
/* In cfgrtl.c */
extern void print_rtl_with_bb (FILE *, const_rtx, int);
-extern rtx_insn *duplicate_insn_chain (rtx, rtx);
+extern rtx_insn *duplicate_insn_chain (rtx_insn *, rtx_insn *);
/* In expmed.c */
extern void init_expmed (void);