https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124949
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Drea Pinski <pinskia at gcc dot gnu.org> ---
if (opts->x_flag_conserve_stack)
{
SET_OPTION_IF_UNSET (opts, opts_set, param_large_stack_frame, 100);
SET_OPTION_IF_UNSET (opts, opts_set, param_stack_frame_growth, 40);
}
-param=large-stack-frame=
Common Joined UInteger Var(param_large_stack_frame) Init(256) Optimization
Param
The size of stack frame to be considered large.
-param=large-stack-frame-growth=
Common Joined UInteger Var(param_stack_frame_growth) Optimization Init(1000)
Param
Maximal stack frame growth due to inlining (as a percentage).
So yes the option you want is -fconserve-stack and/or set the params to what
you think is best. -Wframe-larger-than is not going to change how inlining
works.