re PR target/23774 (dealloc of dynamic stack space breaks backchain)
authorAlan Modra <amodra@bigpond.net.au>
Tue, 13 Sep 2005 02:00:53 +0000 (02:00 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 13 Sep 2005 02:00:53 +0000 (11:30 +0930)
commit2eef28ec7b537993d69c38797a6afd2b43a9e62c
tree368a5f1ef08e89c22b5eff148f552cf19057f485
parent7e15cfee2184fae238f9d04a397bed0a326cc771
re PR target/23774 (dealloc of dynamic stack space breaks backchain)

PR target/23774
* config/rs6000/rs6000.md (restore_stack_block): Write the backchain
word before changing the stack pointer.  Use gen_frame_mem for MEMs.
Use UNSPEC_TIE to prevent insn scheduling reordering the insns.
(restore_stack_nonlocal): Likewise.
(save_stack_nonlocal): Use template to emit insns, and gen_frame_mem.

From-SVN: r104206
gcc/ChangeLog
gcc/config/rs6000/rs6000.md