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

--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> I've already questioned the compile-time cost of those at introduction time.
> It is limited by fbi->aa_walked but only if fbi is passed which it is not
> when called via ipa_load_from_parm_agg.  Changing the interface to pass
> the counter separately and add one to inline_summary similar to the ones
> in func_body_info could fix this.

Right.  And me and Honza have meant to do that for a long time.
Hopefully this PR will finally force us to sit down and make inliner
use these limiting provisions too.

Reply via email to