https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94146
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If not already marked clearly as an ICF created thunk, I'd say it should be and then inliner should take it into account (and only inline if the function became very small or not at all).