https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #18 from Jan Hubicka <hubicka at gcc dot gnu.org> --- We stalled on this one. My understanding is that explicit instantiation of functions that are not declared inline indeed prevents inlining (due to language standard). So I think we want to go ahead and mark them inline perhaps with Jakub's attribute that inline here should not be interpreted as a hint. It is important for optimizer to be able to look into implementation details of i.e. std::string functions not only to inline but also to propagate further invariants.