<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:willvarfar@gmail.com" title="willvarfar@gmail.com">willvarfar@gmail.com</a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - call incorrectly marked as 'tail'"
href="https://llvm.org/bugs/show_bug.cgi?id=24697">bug 24697</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - call incorrectly marked as 'tail'"
href="https://llvm.org/bugs/show_bug.cgi?id=24697#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - call incorrectly marked as 'tail'"
href="https://llvm.org/bugs/show_bug.cgi?id=24697">bug 24697</a>
from <span class="vcard"><a class="email" href="mailto:willvarfar@gmail.com" title="willvarfar@gmail.com">willvarfar@gmail.com</a>
</span></b>
<pre>nlewycky and d0k have explained:
"The tail flag in LLVM is a bit strange. It just means that the call to puts is
a candidate for tail call optimization, in particular it is not allowed to
access any variable on the stack of the caller. The code generator still has to
make sure that the call is in a position suitable for tail call optimization
before it actually turns the call into a jump, and that's not the case here."</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>