This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242694 - in /branches/ARM/embedded-6-branch/gc...


Author: thopre01
Date: Tue Nov 22 10:57:55 2016
New Revision: 242694

URL: https://gcc.gnu.org/viewcvs?rev=242694&root=gcc&view=rev
Log:
Fix PR77904: callee-saved register trashed when clobbering sp

2016-11-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	Backport from mainline
	2016-11-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	gcc/
	PR target/77904
	* config/arm/arm.c (thumb1_compute_save_reg_mask): Mark frame pointer
	in save register mask if it is needed.

	gcc/testsuite/
	PR target/77904
	* gcc.target/arm/pr77904.c: New test.


Added:
    branches/ARM/embedded-6-branch/gcc/testsuite/gcc.target/arm/pr77904.c
Modified:
    branches/ARM/embedded-6-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-6-branch/gcc/config/arm/arm.c
    branches/ARM/embedded-6-branch/gcc/testsuite/ChangeLog.arm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]