https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123229
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #14 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The code checks that cache is contains current values. It seems that in all
places we remove speculations cache is updated, but perhaps
estimate_edge_devirt_benefit diverges since we remove the callee making
speculation less useful...