+2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ * function.c (stack_protect_epilogue): Remove as_a<rtx_insn *> ()
+ call that isn't needed.
+
2015-10-09 Jeff Law <law@redhat.com>
* tree-ssanames.c (flush_ssaname_freelist): Use splice and truncate
{
tree guard_decl = targetm.stack_protect_guard ();
rtx_code_label *label = gen_label_rtx ();
- rtx x, y, tmp;
+ rtx x, y;
rtx_insn *seq;
x = expand_normal (crtl->stack_protect_guard);
things moved out of line. Since this is the only extant case of adding
a noreturn function at the rtl level, it doesn't seem worth doing ought
except adding the prediction by hand. */
- tmp = get_last_insn ();
+ rtx_insn *tmp = get_last_insn ();
if (JUMP_P (tmp))
- predict_insn_def (as_a <rtx_insn *> (tmp), PRED_NORETURN, TAKEN);
+ predict_insn_def (tmp, PRED_NORETURN, TAKEN);
expand_call (targetm.stack_protect_fail (), NULL_RTX, /*ignore=*/true);
free_temp_slots ();