[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 03:02:00 GMT 2005


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

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	amodra@gcc.gnu.org	2005-09-13 03:01:08

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&only_with_tag=gcc-4_0-branch&r1=2.7592.2.427&r2=2.7592.2.428
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.350.2.3&r2=1.350.2.4



-- 


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



More information about the Gcc-bugs mailing list