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
This commit is contained in:
parent
3b6cb9e37e
commit
e3d1043293
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue