On 3/7/2012 1:01 PM, Walter Lee wrote:

This patch fixes an unwinding bug for functions with dynamic stack
frames.  We stop generating REG_CFA_* notes for stack pointer, and at
the end of unwinding we restore the stack pointer by adjusting it by
EH_RETURN_STACKADJ_RTX.

I forgot to attach the ChangeLog:

        * config/tilegx/tilegx.c (tilegx_expand_prologue): Don't generate
        REG_CFA_* notes for the stack pointer.
        (tilegx_expand_epilogue): Restore stack pointer by adjusting it by
        EH_RETURN_STACKADJ_RTX.
        * config/tilepro/tilepro.c (tilepro_expand_prologue): Don't
        generate REG_CFA_* notes for the stack pointer.
        (tilepro_expand_epilogue): Restore stack pointer by adjusting it
        by EH_RETURN_STACKADJ_RTX.

Walter

Reply via email to