https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org, | |jason at gcc dot gnu.org Component|libstdc++ |c++ --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- I guess the C++ FE could honor -finline-functions and consider all functions having the 'inline' hint in that case. I'm not sure how wide-spread explicit instantiations are and what compile-time (and size?) hit we get when doing the instantiations always. That is, is the middle-end smart enough to not emit out-of-line instances for the inline instantiated extern template parts? Off the top of my head I'm not aware of any middle-end flagging of this?