<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 5, 2016 at 9:26 PM, Fred Wright <span dir="ltr">&lt;<a href="mailto:fw@fwright.net" target="_blank">fw@fwright.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1aq" class="a3s aXjCH m156fd1b0db0edd61">Interesting, given that the Linux kernel *requires* optimization to build<br>
correctly, due to some issue with macros vs. inline functions.  Of course<br>
that&#39;s gcc, not clang, and it doesn&#39;t necessarily rule out -Os. </div></blockquote></div><br>Yes. And I was talking about gcc there. Thing about the Linux kernel is that it finds more optimizer bugs than pretty much any other code (and gets priority response from gcc devs) --- but even so, kernel code only exercises a limited portion of code gen, and other portions don&#39;t get debugged very well as a result. Also, while I&#39;ve not kept track in recent years, tweaking kernel code to avoid known code gen / optimization bugs was very often a thing from the beginning through the kernel 2.x series.<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>