https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84856
Kito Cheng <npickito at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |npickito at gmail dot com --- Comment #7 from Kito Cheng <npickito at gmail dot com> --- Hi Jim: Your fixed changed the stack alignment at all, MIN_STACK_BOUNDARY is only used in backed, but STACK_BOUNDARY will reference in may place to align the stack. riscv32-elf-gcc gcc/testsuite/gcc.c-torture/execute/20010518-1.c -o - -S ... .globl main .type main, @function main: addi sp,sp,-40 <------ sw ra,36(sp) sw s0,32(sp) ...