https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113208
--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57960 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57960&action=edit gcc14-pr113208.patch Here is my attempt to optimize it in the C++ FE. The ICE is gone and for pr113208_0.C compiled with -std=c++20 -O1 -fkeep-inline-functions it emits the desirable _ZN6vectorI12QualityValueEC2ERKS1_ ctor in the _ZN6vectorI12QualityValueEC5ERKS1_ comdat group as well as an alias to it. But, compared to e.g. 13.2.1, the alias is for some reason no longer inlined into _ZN1kC2ERKS_ call. Honza, any ideas what I'm doing wrong?