OSDN Git Service

Fix an unwinding bug for functions with dynamic stack frames.
authorwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2012 15:06:53 +0000 (15:06 +0000)
committerwalt <walt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Apr 2012 15:06:53 +0000 (15:06 +0000)
commite6c80a80e7e5827932e5b981ee24798b607fca3e
tree64b3af2421c2b7507331808f2e138a42ad63023f
parente6ccd382c23bf80943867bbde8e7eb86dcc72d3f
Fix an unwinding bug for functions with dynamic stack frames.

2012-04-06  Walter Lee  <walt@tilera.com>

Backport from mainline
2012-03-07  Walter Lee  <walt@tilera.com>

* 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/branches/gcc-4_7-branch@186195 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/tilegx/tilegx.c
gcc/config/tilepro/tilepro.c