bug w/ inline of inline?

Richard Henderson rth@redhat.com
Mon Oct 18 19:28:00 GMT 2004


On Sun, Oct 17, 2004 at 10:43:34PM -0400, Richard Kenner wrote:
> I saw this sort of thing a while ago when I was playing with similar
> artificial tests.  The reason the inlining isn't done is because of
> heuristics in cgraph.  It's looking at the number of times the function
> is used and such and the artificial cases don't tend to trigger the
> inlining.

Not even close.

The function isn't inlined because it's called indirectly, and we don't
re-do inlining after we cse the constant function address into the call.



r~



More information about the Gcc mailing list