This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Move the call to execute_all_ipa_transforms to cgraphunit.c


On Tue, Nov 11, 2008 at 18:52, Jan Hubicka <hubicka@ucw.cz> wrote:

> It seems that most correct approach would be to turn extern inline
> functions into static functions before LTO and have pass that will
> redirect the calls of noninlined bodies to the non-extern inline body
> (or external call) after inlining.  This way we don't lose
> optimization/information.

Isn't this what the inliner does already?


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]