r192521 - Add missing flags -fexpensive-optimizations and -minline-all-stringops as noops.
Chandler Carruth
chandlerc at google.com
Mon Oct 14 16:58:55 PDT 2013
On Mon, Oct 14, 2013 at 4:53 PM, Nick Lewycky <nlewycky at google.com> wrote:
> Longer term, we should implement the ones that are sensible and warn on
> the ones that aren't.
While I emphatically agree with you on this strategy, two notes:
1) Everyone will ignore these warnings because they have to.
2) The world will continue.
Whether it is correct or not, people were not using -minline-all-stringops
to avoid calling out to libc for them, they were using it as equivalent to
-O9 or whatever. =/ By ignoring this flag we correctly compile a nontrivial
amount of code out there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131014/c161f271/attachment.html>
More information about the cfe-commits
mailing list