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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |10.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

GCC 9:
   size:15 time:21.930000 nonspec time:28.930000

GCC 10:
   size:3 time:0.000000 nonspec time:0.000000

So yes it was fixed via the inliner.

(In reply to Richard Biener from comment #1)
> 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?

I will file that issue seperately ...

Reply via email to