https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445
--- Comment #23 from Christophe Leroy <christophe.leroy at csgroup dot eu> --- (In reply to Jan Hubicka from comment #19) > > It is always possible to always_inline functions that are intended to be > always inlined. > Honza Yes and I sent a patch for that to the Linux kernel, but what I would like to understand is why does GCC 10 completely fails to inline that while GCC 9 was doing things properly ? Find attached the same temp files generated with GCC 9. GCC9 sees that get_order() is not used and doesn't generate it.