https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89491
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- "Inlining" from vtables is called devirtualization, and GCC performs that either if there is just a single possibility, or with PGO if a particular method is known to be very common. Doing it in other cases is probably not a very good idea.