Commit e3d10432 by Jeff Law Committed by Jeff Law

iq2000.c (final_prescan_insn): Do not separate a CALL and NOTE_INSN_CALL_ARG_LOCATION.

	* config/iq2000/iq2000.c (final_prescan_insn): Do not separate a
	CALL and NOTE_INSN_CALL_ARG_LOCATION.

From-SVN: r246761
parent 3b6cb9e3
2017-04-07 Jeff Law <law@redhat.com>
* config/iq2000/iq2000.c (final_prescan_insn): Do not separate a
CALL and NOTE_INSN_CALL_ARG_LOCATION.
2017-04-07 Martin Liska <mliska@suse.cz>
PR target/79889
......
......@@ -1540,8 +1540,13 @@ final_prescan_insn (rtx_insn *insn, rtx opvec[] ATTRIBUTE_UNUSED,
|| (GET_CODE (PATTERN (insn)) == RETURN))
&& NEXT_INSN (PREV_INSN (insn)) == insn)
{
rtx_insn *nop_insn = emit_insn_after (gen_nop (), insn);
rtx_insn *tmp = insn;
while (NEXT_INSN (tmp)
&& NOTE_P (NEXT_INSN (tmp))
&& NOTE_KIND (NEXT_INSN (tmp)) == NOTE_INSN_CALL_ARG_LOCATION)
tmp = NEXT_INSN (tmp);
rtx_insn *nop_insn = emit_insn_after (gen_nop (), tmp);
INSN_ADDRESSES_NEW (nop_insn, -1);
}
......
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