https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753
--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> --- I think this is a problem with two meanings of always_inline. One is "it must be inlined or otherwise we will not be able to generate code" other is "disregard inline limits". I guess practical solution here would be to ingore always inline for functions called from static construction wrappers (since they only optimize around array of function pointers). Question is how to communicate this down from FE to ipa-inline...