Commit 9e46366d by Pitchumani Sivanupandi Committed by Denis Chertykov

avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base register if not marked…

avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base register if not marked dead/unused, before return.

	* config/avr/avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base
	register if not marked dead/unused, before return.

From-SVN: r223647
parent 9677ef52
2015-05-25 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
* config/avr/avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base
register if not marked dead/unused, before return.
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
PR lto/66180
......
......@@ -4379,9 +4379,9 @@ avr_out_load_psi_reg_no_disp_tiny (rtx_insn *insn, rtx *op, int *plen)
}
else
{
return avr_asm_len ("ld %A0,%1+" CR_TAB
"ld %B0,%1+" CR_TAB
"ld %C0,%1", op, plen, -3);
avr_asm_len ("ld %A0,%1+" CR_TAB
"ld %B0,%1+" CR_TAB
"ld %C0,%1", op, plen, -3);
if (reg_dest != reg_base - 2 &&
!reg_unused_after (insn, base))
......
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