https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97681
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> --- That is not inlining, but just constant expression evaluation. Attempting to constant evaluate initializers etc. even outside of constant expression is very important optimization, and noinline attribute has nothing to do with that.