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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-05-09
                 CC|                            |hubicka at gcc dot gnu.org
          Component|tree-optimization           |ipa
            Version|6.3.1                       |7.1.1
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  IPA-CP / inlining fail to optimize the indirect call and thus the
node is not removed.  So after inlining we have



  <bb 4> [100.00%]:
  # iftmp.0_4 = PHI <no(2), no(3)>
  iftmp.0_4 ();

that _could_ have been simplified by IPA-CP / devirt?

Reply via email to