PR rtl-optimization/65618
* emit-rtl.c (try_split): Move initialization of "before" and
"after" to just before the call to emit_insn_after_setloc.
From-SVN: r244029
+2017-01-03 James Cowgill <James.Cowgill@imgtec.com>
+
+ PR rtl-optimization/65618
+ * emit-rtl.c (try_split): Move initialization of "before" and
+ "after" to just before the call to emit_insn_after_setloc.
+
2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
* doc/md.texi (Standard Names): Remove reference to Java frontend.
rtx_insn *
try_split (rtx pat, rtx_insn *trial, int last)
{
- rtx_insn *before = PREV_INSN (trial);
- rtx_insn *after = NEXT_INSN (trial);
+ rtx_insn *before, *after;
rtx note;
rtx_insn *seq, *tem;
int probability;
}
}
+ before = PREV_INSN (trial);
+ after = NEXT_INSN (trial);
+
tem = emit_insn_after_setloc (seq, trial, INSN_LOCATION (trial));
delete_insn (trial);