Re: [PATCH] i386: Set the stack usage to 0 for naked functions

2020-10-30 Thread Uros Bizjak via Gcc-patches
> -fstack-usage raises a "stack usage computation not supported for this target" > warning when it encounters a naked function because the prologue returns early > for naked function on i386. This patch sets the stack usage to zero for naked > function, following the fix done for Arm by Eric Botcaz

[PATCH] i386: Set the stack usage to 0 for naked functions

2020-10-30 Thread Pat Bernardi
-fstack-usage raises a "stack usage computation not supported for this target" warning when it encounters a naked function because the prologue returns early for naked function on i386. This patch sets the stack usage to zero for naked function, following the fix done for Arm by Eric Botcazou: ht