https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- See https://gcc.gnu.org/bugs.html, you haven't provided either preprocessed source, nor gcc command line options. inline keyword itself is not a guarantee that the function will be inlined, it is inlined if it is possible and seems beneficial to the inlining heuristics. If you want to always inline, use __attribute__((always_inline)) in addition to inline keyword.