--- Comment #8 from Jakub Jelinek <jakub at gcc dot> ---
(In reply to Martin Liška from comment #6)
> (In reply to Jakub Jelinek from comment #3)
> > Seems the inliner immediately undoes what ICF did and both get inlined into
> > main as well.
> It's not undoing the decision because the symbol (Bar) is global. So it both
> inlines into main and the wrapper is preserved. But it's not triggering the
> issue.

Well, it does, because it inlines Foo back into Bar, so all the ICF effort
except for creating the variable alias is gone.

Reply via email to