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 16:20:16, "sch...@linux-m68k.org" <gcc-bugzi...@gcc.gnu.org>
wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110188
>
>--- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> ---
>According to riscv.h there is a difference between ABI and calling conventions:
>
>/* The smallest supported stack boundary the calling convention supports.  */
>#define STACK_BOUNDARY \
>  (riscv_abi == ABI_ILP32E ? BITS_PER_WORD : 2 * BITS_PER_WORD)
>
>/* The ABI stack alignment.  */
>#define ABI_STACK_BOUNDARY (riscv_abi == ABI_ILP32E ? BITS_PER_WORD : 128)
>
>-- 
>You are receiving this mail because:
>You reported the bug.

Reply via email to