https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122455
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org,
| |jamborm at gcc dot gnu.org
Keywords|needs-source |
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
It sounds like bad luck, we can't know which one is more probable I guess and
the order might be quite random. If you use FDO I would guess this resolves
itself.
We could possibly drop the speculative devirt upon instantiation if there
were no followup transforms like inlining or IPA-CP?