[PATCH]: -fno-inline doesnt prevent inlining

Justin Bogner mail at justinbogner.com
Tue Jan 14 16:07:15 PST 2014


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.



More information about the cfe-commits mailing list