[Bug target/22260] -fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 1 00:17:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-01 00:17 -------
Subject: Bug 22260

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	ebotcazou@gcc.gnu.org	2005-07-01 00:17:33

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sparc.c 

Log message:
	PR target/22260
	* config/sparc/sparc.c (emit_and_preserve): Add 2nd register.
	Preserve the 2nd register too, if present.
	(sparc_output_mi_thunk) <PIC case>: Preserve the PIC register too.
	Adjust call to emit_and_preserve.

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.293&r2=2.7592.2.294
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.354.8.5&r2=1.354.8.6



-- 


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



More information about the Gcc-bugs mailing list