[Bug target/90922] Bad prologue generated for call0 ABI functions
jcmvbkbc at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 23 07:51:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90922
--- Comment #5 from jcmvbkbc at gcc dot gnu.org ---
Author: jcmvbkbc
Date: Mon Sep 23 07:50:40 2019
New Revision: 276039
URL: https://gcc.gnu.org/viewcvs?rev=276039&root=gcc&view=rev
Log:
xtensa: backport fix for PR target/90922
Stack pointer adjustment code in prologue missed a case of no
callee-saved registers and a stack frame size bigger than 128 bytes.
Handle that case.
This fixes the following gcc tests with call0 ABI:
gcc.c-torture/execute/stdarg-2.c
gcc.dg/torture/pr55882.c
gcc.dg/torture/pr57569.c
gcc/
2019-09-23 Max Filippov <jcmvbkbc@gmail.com>
Backport from mainline
2019-06-18 Max Filippov <jcmvbkbc@gmail.com>
* config/xtensa/xtensa.c (xtensa_expand_prologue): Add stack
pointer adjustment for the case of no callee-saved registers and
stack frame bigger than 128 bytes.
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/xtensa/xtensa.c
More information about the Gcc-bugs
mailing list