[PATCH]: -fno-inline doesnt prevent inlining

Chandler Carruth chandlerc at google.com
Tue Jan 14 16:35:12 PST 2014


On Tue, Jan 14, 2014 at 4:07 PM, Justin Bogner <mail at justinbogner.com>wrote:

> Chandler Carruth <chandlerc at google.com> writes:
> > On the other other hand, if we are doing an LTO build, we might want to
> only
> > prevent inlining during the per-TU optimization run, not during the LTO
> > optimization run.
>
> We should probably trust the user here. It does seem a bit silly to say
> "-flto -fno-inline", but I think it would be surprising for cross-TU
> inlining to happen in the presence of -fno-inline.
>

Sure. Just thought it would be worth considering.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140114/6d284af7/attachment.html>


More information about the cfe-commits mailing list