On 5/16/24 12:24 PM, Palmer Dabbelt wrote:
gcc/
* config/riscv/riscv.cc (riscv_expand_prologue): Add missing stack
tie for scalable and final stack adjustment if needed.
Co-authored-by: Raphael Zinsly
(cherry picked from commit c65046ff2ef0a9a46e59bc0b3369b2d226f6a
From: Jeff Law
As some of you know, Raphael has been working on stack-clash support for the
RISC-V port. A little while ago Florian reached out to us with an issue where
glibc was failing its smoke test due to referencing an unallocated stack slot.
Without diving into the code in detail I (inco