https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188
--- Comment #4 from 18761437418 at 163 dot com ---
thank you very much.
according to the define, STACK_BOUNDARY is 8 bytes, ABI_STACK_BOUNDARY is 128,
just 16bytes, not 32bytes, but compiler allocate 32bytes to stack.
At 2023-06-09
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188
--- Comment #2 from 18761437418 at 163 dot com ---
thank you very much,
I have tried different optimization levels, but all occupy 32bytes.
O0, O1, O2, O3, Os all occupy 32bytes.
comand: riscv64-unknown-elf-gcc -c main.c -o main.o -march=rv32ima