aboutsummaryrefslogtreecommitdiff
path: root/gcc/genmodes.c
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2016-11-17 20:12:13 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2016-11-17 20:12:13 +0000
commit77b384c53f2229b05513fb4b297d4c93da04f01a (patch)
tree57d72e555ae16df422d83d7d1b6434b8123f1ac1 /gcc/genmodes.c
parentd9df71be907c93848f4ab31b280080da59cf5b5a (diff)
downloadgcc-77b384c53f2229b05513fb4b297d4c93da04f01a.zip
gcc-77b384c53f2229b05513fb4b297d4c93da04f01a.tar.gz
gcc-77b384c53f2229b05513fb4b297d4c93da04f01a.tar.bz2
Fix PR77933: stack corruption on ARM when using high registers and LR
2016-11-17 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR target/77933 * config/arm/arm.c (thumb1_expand_prologue): Distinguish between lr being live in the function and lr needing to be saved. Distinguish between already saved pushable registers and registers to push. Check for LR being an available pushable register. gcc/testsuite/ PR target/77933 * gcc.target/arm/pr77933-1.c: New test. * gcc.target/arm/pr77933-2.c: Likewise. From-SVN: r242559
Diffstat (limited to 'gcc/genmodes.c')
0 files changed, 0 insertions, 0 deletions