On 10/11/2011 02:21 AM, Sameera Deshpande wrote:
> +            /* When saved-register index (i) is odd, RTXs for both the 
> registers
> +               to be loaded are generated in above given LDRD pattern, and 
> the
> +               pattern can be emitted now.  */
> +            par = emit_insn (par);
> +            add_reg_note (par, REG_FRAME_RELATED_EXPR, dwarf);

I don't believe REG_FRAME_RELATED_EXPR does the right thing for 
anything besides prologues.  You need to emit REG_CFA_RESTORE
for the pop inside an epilogue.


r~

Reply via email to