[Bug target/12538] %l7 is call-clobbered with -mflat -fpic

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 13 09:58:00 GMT 2003

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


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-13 09:57 -------
Subject: Bug 12538

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-10-13 09:57:53

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

Log message:
	PR target/12538
	* config/sparc/sparc.c (MUST_SAVE_REGISTER): Delete.
	(sparc_flat_must_save_register_p): New function to decide whether
	a register must be saved/restored in the function prologue/epilogue.
	(sparc_flat_compute_frame_size): Use it instead of MUST_SAVE_REGISTER.


More information about the Gcc-bugs mailing list