> That seems misleading, unless the exception is really never thrown.
See my earlier answer to Richard.
--
Eric Botcazou
Eric Botcazou writes:
> Hi,
>
> for EH cleanups, the branch probability heuristics can consider that edges
> are
> never taken, i.e. their profile count is set to zero. In this case, no
> matter
> how you tweak the inlining parameters, you cannot get function calls inlined,
> but -Winline n
> Looks good besides
>
> + if (e->count.ipa () == profile_count::zero ())
> + e->inline_failed = CIF_NEVER_CALL;
>
> does it actually matter what kind of profile quality e->count.ipa has
> compared to profile_count::zero ()?
I don't really know, the other examples in the functi
On Wed, Jul 24, 2019 at 11:29 AM Eric Botcazou wrote:
>
> Hi,
>
> for EH cleanups, the branch probability heuristics can consider that edges are
> never taken, i.e. their profile count is set to zero. In this case, no matter
> how you tweak the inlining parameters, you cannot get function calls i
Hi,
for EH cleanups, the branch probability heuristics can consider that edges are
never taken, i.e. their profile count is set to zero. In this case, no matter
how you tweak the inlining parameters, you cannot get function calls inlined,
but -Winline nevertheless prints the standard message a