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
This commit is contained in:
James Cowgill 2017-01-03 18:41:05 +00:00 committed by Jeff Law
parent 84aff3c2d4
commit d4eff95b57
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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);