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

--- Comment #11 from Jan Hubicka <hubicka at ucw dot cz> ---
> Early inlining is more complicated, either we need to arrange for tailr to be
> run on the to be inlined body before it is attempted to be early inlined, or 
> we
> need to optimize that (perhaps just for musttail calls) during early inlining
> because we shouldn't inline one invocation of foo and keep there foo call.

We used to do early inline in the reverse postorder together with
into-ssa, so after doing early opts on the inlined body.
This was changed for mpx which was reverted but this change was not
undone, so we can inline unoptimized bodies in the case of recursion
cycles.  I don't think it is important ting to do, so I would possibly o
back to pree-MPX organization of the optimization pipeline :)

Reply via email to