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


> OK, do you think you could implement this solution to extern inlines?
> For now, running the inliner early will get rid of the immediate
> problem we are having.  If you don't have a lot of time, could you
> send an outline of what needs to be done?

I think I still prefer to run the inliner and drop the extern inline
functions. The option of fully transferring then to wpa would be
harder, since now the compiler would see more function bodies then the
linker and would need decide what to do with them. I am afraid that
converting extern inline into static functions would break some code
that has unreasonable expectations about a function defined in another
file being called.

Doing an early inline (and possibly other optimizations) also has the
benefit of reducing the size of the IL that is written to disk.

> Thanks.  Diego.
>

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047


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