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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> So actually it seems that the reason is ICF plus inlining:
....
>, introducing the extra copy.  Why do we use
> tail-calls here instead of aliases?  Why do we lack cost modeling here?
> Why do we inline back?  It looks like a pointless exercise to me ...
> With -fdisable-ipa-inline we get
> 
> _Z5test2O1A:
> .LFB5:
>         .cfi_startproc
>         jmp     _Z5test1R1A
> 
> so that's at least reasonable and what's expected I suppose.  So one
> could argue the bug is in the inliner and with introducing the extra
> copy (IIRC there's a bug about this), but still.

Which means this is dup of bug 96252

*** This bug has been marked as a duplicate of bug 96252 ***

Reply via email to