<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 13-08-28 12:45 PM, Eli Friedman
wrote:<br>
</div>
<blockquote
cite="mid:CAJdarcFrAnzCtBzmfnn+Sb+H=y0UUGWvWVFY-inFojam3AmBpg@mail.gmail.com"
type="cite">
<div dir="ltr"><span class="HOEnZb"><font color="#888888"><br>
</font></span>
<div class="gmail_extra">
<div class="gmail_quote">
<div>clang intentionally doesn't expose fine-grained control
over optimization passes.<br>
<br>
</div>
<div>It's probably a better idea to figure out which file is
getting incorrectly compiled, and change the optimization
level for that file,instead of messing with the
optimization levels for the whole project. Also, this
sort of issue is almost always caused by code that has
undefined behavior, not by a bug in the compiler.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I beg to differ:<a href="http://llvm.org/pr14223">
http://llvm.org/pr14223</a><br>
<br>
We still have to compile the affected project with -O1 to ensure
that the destructors properly fire.<br>
<br>
- ½<br>
<br>
</body>
</html>