https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120345

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |ipa
           Keywords|                            |missed-optimization

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So what is happening is devirtualization decided that `Base *update` might be
Derived1 and added a check there. And then the warning happens because of
inlining.

I have not looked into why include -fcheck-new causes that.

Reply via email to