From: Pitchumani Sivanupandi Date: Mon, 25 May 2015 16:43:05 +0000 (+0000) Subject: avr.c (avr_out_load_psi_reg_no_disp_tiny): Restore base register if not marked dead... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e46366d37515a06fb9f70674771ea799f2d27d3;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52bcfef7e46..6460f473d81 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-25 Pitchumani Sivanupandi + + * 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 PR lto/66180 diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 8f98bf51f1f..365fedf918c 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -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))