https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90922
--- Comment #4 from jcmvbkbc at gcc dot gnu.org ---
Author: jcmvbkbc
Date: Mon Sep 23 07:48:41 2019
New Revision: 276038

URL: https://gcc.gnu.org/viewcvs?rev=276038&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  <jcmvb...@gmail.com>

        Backport from mainline
        2019-06-18  Max Filippov  <jcmvb...@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-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/xtensa/xtensa.c

Reply via email to