arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 20 Dec 2013 16:46:37 +0000 (16:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 20 Dec 2013 16:46:37 +0000 (16:46 +0000)
commitede34dfcebbfaded870a505d122557f2eff8c01a
treedbe3ece26cf49880bb2f5bd76db55084b4c49e4c
parentabdd0cfa93ee92acb9498ec1a430b6d86137f7f4
arm.c (arm_expand_prologue): In a nested APCS frame with arguments to push onto the stack and no varargs...

* config/arm/arm.c (arm_expand_prologue): In a nested APCS frame with
arguments to push onto the stack and no varargs, save ip into the last
stack slot if r3 isn't available on entry.

From-SVN: r206154
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/nested-apcs.c [new file with mode: 0644]