<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:octoploid@yandex.com" title="octoploid <octoploid@yandex.com>"> <span class="fn">octoploid</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - segfault in clang::LocalInstantiationScope::getPartiallySubstitutedPack"
href="https://llvm.org/bugs/show_bug.cgi?id=24531">bug 24531</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>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - segfault in clang::LocalInstantiationScope::getPartiallySubstitutedPack"
href="https://llvm.org/bugs/show_bug.cgi?id=24531#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - segfault in clang::LocalInstantiationScope::getPartiallySubstitutedPack"
href="https://llvm.org/bugs/show_bug.cgi?id=24531">bug 24531</a>
from <span class="vcard"><a class="email" href="mailto:octoploid@yandex.com" title="octoploid <octoploid@yandex.com>"> <span class="fn">octoploid</span></a>
</span></b>
<pre>Reopening. Building with -fsanitize=undefined shows:
trippels@gcc2-power8 llvm_build % ./bin/clang++ -std=c++14 -c ~/assert.ii
/home/trippels/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:609:77:
runtime error: member call on null pointer of type 'struct
LocalInstantiationScope'
/home/trippels/assert.ii:2:26: error: too few template arguments for class
template 'A'
template <typename... T> A<T...> models;
^
/home/trippels/assert.ii:3:29: note: in instantiation of variable template
specialization 'models' requested here
template <int> void fn1() { models<>; }
^
/home/trippels/assert.ii:1:28: note: template is declared here
template <typename> struct A;
~~~~~~~~~~~~~~~~~~~ ^
1 error generated.</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>