<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:meadori@gmail.com" title="Meador Inge <meadori@gmail.com>"> <span class="fn">Meador Inge</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - [3.5] Crash when creating tuple with at least 5 elements using libc++" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23661&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=3EdHt9XBd4ywe_nES3TDes7-4fkIY7Yu8PPoJRMnTxA&s=WZ0pXgcw2gL88oBBa-3-PHePpb1cetoL2BCfNTxlPkM&e=">bug 23661</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;">CC</td>
<td>
</td>
<td>meadori@gmail.com
</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 - [3.5] Crash when creating tuple with at least 5 elements using libc++" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23661-23c2&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=3EdHt9XBd4ywe_nES3TDes7-4fkIY7Yu8PPoJRMnTxA&s=AS2qFv_v8cpN2k-symKtb8gPpOrXHDQTOmzIoGKsE9Q&e=">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - [3.5] Crash when creating tuple with at least 5 elements using libc++" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23661&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=3EdHt9XBd4ywe_nES3TDes7-4fkIY7Yu8PPoJRMnTxA&s=WZ0pXgcw2gL88oBBa-3-PHePpb1cetoL2BCfNTxlPkM&e=">bug 23661</a>
from <span class="vcard"><a class="email" href="mailto:meadori@gmail.com" title="Meador Inge <meadori@gmail.com>"> <span class="fn">Meador Inge</span></a>
</span></b>
<pre>This compiles fine with Clang trunk (3.7.0):
$ cat -b pr23661.cpp
1 #include <tuple>
2
3 template<typename ...T>
4 std::tuple<T...> tup(T ...things) {
5 return std::tuple<T...>(things...);
6 }
7
8 int main() {
9 #ifndef CRASH
10 tup(1, 2, 3, 4); // Ok
11 #else
12 tup(1, 2, 3, 4, 5); // Crash!
13 #endif
14 }
$ ./bin/clang++ --version
clang version 3.7.0 (trunk 239652) (llvm/trunk 239650)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
$ ./bin/clang++ -std=c++11 -stdlib=libc++ -DCRASH pr23661.cpp</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>