[Bug optimization/10842] [3.3 regression] [arm] Clobbered link register is copied to pc under certain circumstances

cvs-commit@gcc.gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 14 16:29:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From cvs-commit@gcc.gnu.org  2003-06-14 16:29 -------
Subject: Bug 10842

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	rearnsha@gcc.gnu.org	2003-06-14 16:29:21

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

Log message:
	PR optimization/10842
	From trunk:
	2003-01-20  Nick Clifton  <nickc@redhat.com>
	
	* config/arm/arm.md (sibcall_epilogue): Add an
	UNSPEC_PROLOGUE_USE to prevent the link register from being
	considered dead.
	
	2003-02-02  Richard Earnshaw  <rearnsha@arm.com>
	
	* arm.md (sibcall_epilogue): Set the "conds" to "clob".
	(epilogue_insns): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.582&r2=1.16114.2.583
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.113.2.1&r2=1.113.2.2



More information about the Gcc-bugs mailing list