<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - executable behaves differently with -O0 and -O1 (and higher)"
href="https://bugs.llvm.org/show_bug.cgi?id=17407">bug 17407</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>rnk@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - executable behaves differently with -O0 and -O1 (and higher)"
href="https://bugs.llvm.org/show_bug.cgi?id=17407#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - executable behaves differently with -O0 and -O1 (and higher)"
href="https://bugs.llvm.org/show_bug.cgi?id=17407">bug 17407</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>This works today on Windows in both mingw and msvc environments:
$ clang++ --target=x86_64-windows-gnu clang_reproduce_issue.cpp -o t.exe &&
./t.exe
value() throwing
printing this
making exception
GOOD - thrown Actual value [print()] did not match [zzz]
$ clang++ --target=x86_64-windows-msvc clang_reproduce_issue.cpp -o t.exe &&
./t.exe
printing this
making exception
GOOD - thrown Actual value [print()] did not match [zzz]</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>