<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Feature request: generic __builtin_add_overflow, etc."
href="https://llvm.org/bugs/show_bug.cgi?id=21716">bug 21716</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>WORKSFORME
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Feature request: generic __builtin_add_overflow, etc."
href="https://llvm.org/bugs/show_bug.cgi?id=21716#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Feature request: generic __builtin_add_overflow, etc."
href="https://llvm.org/bugs/show_bug.cgi?id=21716">bug 21716</a>
from <span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span></b>
<pre>Tobias, this is with regards to variants of __builtin_add_overflow which are
generic over their arguments.
Clang doesn't have this. Instead it has every variant of unsigned and signed
addition multiplied by the number of different type arguments. The GCC variant
applied the usual type conversions to find a common type and then performs the
overflow checking.</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>