https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> --- > Yes that's it, a single run shows 12% speedup with this patch! Looks promising. We probably should try to differentiate from polymorphic calls as virtual methods are also used in different patterns. let me cook the patch. Honza