<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:lebedev.ri@gmail.com" title="Roman Lebedev <lebedev.ri@gmail.com>"> <span class="fn">Roman Lebedev</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Signed integer overflow causes program to skip the epilogue and fall into another function"
href="https://bugs.llvm.org/show_bug.cgi?id=49599">bug 49599</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;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Signed integer overflow causes program to skip the epilogue and fall into another function"
href="https://bugs.llvm.org/show_bug.cgi?id=49599#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Signed integer overflow causes program to skip the epilogue and fall into another function"
href="https://bugs.llvm.org/show_bug.cgi?id=49599">bug 49599</a>
from <span class="vcard"><a class="email" href="mailto:lebedev.ri@gmail.com" title="Roman Lebedev <lebedev.ri@gmail.com>"> <span class="fn">Roman Lebedev</span></a>
</span></b>
<pre>(In reply to Dave Green from <a href="show_bug.cgi?id=49599#c4">comment #4</a>)
<span class="quote">> -mllvm -trap-unreachable will add a trap.
>
> Some targets (MachO, Webassembly, PS4) will do this by default.</span >
Hm, that doesn't pessimize the IR at all: <a href="https://godbolt.org/z/q49rq6">https://godbolt.org/z/q49rq6</a>
Only the assembly: <a href="https://godbolt.org/z/sceK9T">https://godbolt.org/z/sceK9T</a>
Why isn't this the default then?</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>