https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124949
--- Comment #10 from Drea Pinski <pinskia at gcc dot gnu.org> --- The stack in ecc_point_mult is already big. The following seems like should be NOT inlined due to stack usage being big: xycz_initial_double xycz_add_c xycz_add vli_mod_mult_fast vli_mod_inv apply_z BUT the following should improve stack usage: vli_add vli_set vli_test_bit vli_mod_sub Without the exact options being used I can't tell if GCC is doing the right thing here or is other option like -fsanitize=kernel-address causing issues ...
