<div dir="ltr">On 12 October 2013 05:28, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Sat, Oct 12, 2013 at 04:24:32AM -0000, Nick Lewycky wrote:<br>


> Author: nicholas<br>
> Date: Fri Oct 11 23:24:31 2013<br>
> New Revision: 192521<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=192521&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=192521&view=rev</a><br>
> Log:<br>
> Add missing flags -fexpensive-optimizations and -minline-all-stringops as noops.<br>
<br>
</div>Do we really want to emulate them? I haven't seen either as problem in<br>
pkgsrc.</blockquote><div><br></div><div>Yes, I have actually run into these.</div><div><br></div><div>-fexpensive-optimizations: <a href="http://www.ks.uiuc.edu/Research/phi/">http://www.ks.uiuc.edu/Research/phi/</a></div>

<div>-minline-all-stringops: povray </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 At the latter, I would consider possibly harmful since Clang<br>

will create calls to memset() etc in some situations.<br></blockquote><div><br></div><div>As a practical matter, I'm adding these so that I can continue to build software that used to build. They're marked <span style="font-family:arial,sans-serif;font-size:13px">clang_ignored_[fm]_Group so that we can find which flags aren't implemented.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">I'm not sure what you're saying -- are you arguing that implementing -minline-all-stringops is dangerous, or that silently ignoring -minline-all-stringops is dangerous?</font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Nick</font></div></div></div></div>