https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94722
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I've said in that thread that I don't really like disabling the inlining, if we wanted to make sure everything is stack protected, we'd need to disable all the inlining no matter whether the attribute is there or not, because inlining by definition removes the stack protector checks, it is only tested on function boundaries, not on inline function boundaries. The user has the option to add noinline when he wants.