[patch] Fix another fallout of partial inlining change
Eric Botcazou
ebotcazou@adacore.com
Fri Sep 6 09:37:00 GMT 2013
> Sorry, I missed your mail and it seems that my original mail did not
> hit the mailing list. I am attaching what I wrote back then for a record.
> The patch fixes situation where function is externaly visible and called
> once. In this case it makes sense to partially inline it into the
> one caller. Previous heuristic was wrong assuming that the function is
> static and thus preventing splitting because it makes more sense to inline
> it always.
OK, thanks for the explanation.
> Thinking about it, we ought to prvent splitting always_inline functions:
> those may contain something that relies on inlining. Either you can
> include in your change or I will fix it as a followup.
I'll let you make the change.
--
Eric Botcazou
More information about the Gcc-patches
mailing list