[Bug target/23774] dealloc of dynamic stack space breaks backchain

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 13 02:01:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-13 02:01 -------
Subject: Bug 23774

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	amodra@gcc.gnu.org	2005-09-13 02:01:04

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: rs6000.md 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9942&r2=2.9943
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&r1=1.407&r2=1.408



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23774



More information about the Gcc-bugs mailing list