Commit d4eff95b by James Cowgill Committed by Jeff Law

re PR rtl-optimization/65618 (gnat bootstrap comparison failure on mips{,el}-linux-gnu)

	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
parent 84aff3c2
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.
......
......@@ -3643,8 +3643,7 @@ mark_label_nuses (rtx x)
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;
......@@ -3818,6 +3817,9 @@ try_split (rtx pat, rtx_insn *trial, int last)
}
}
before = PREV_INSN (trial);
after = NEXT_INSN (trial);
tem = emit_insn_after_setloc (seq, trial, INSN_LOCATION (trial));
delete_insn (trial);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment