Fix an unwinding bug for functions with dynamic stack frames.
authorwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Mar 2012 17:58:52 +0000 (17:58 +0000)
committerwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Mar 2012 17:58:52 +0000 (17:58 +0000)
commitc6cfe48feb80ec3f79a8e4e975581b8a8fdbbb89
tree1f246a231a409cfe684156447a6b6c50bd088cf0
parent4e2b92f68fced845b12815c3e1390ab60f5acd9a
Fix an unwinding bug for functions with dynamic stack frames.

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185070 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/tilegx/tilegx.c
gcc/config/tilepro/tilepro.c