<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Repeatable Compiler crash on v3.7.1"
href="https://llvm.org/bugs/show_bug.cgi?id=26512">bug 26512</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>DUPLICATE
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Repeatable Compiler crash on v3.7.1"
href="https://llvm.org/bugs/show_bug.cgi?id=26512#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Repeatable Compiler crash on v3.7.1"
href="https://llvm.org/bugs/show_bug.cgi?id=26512">bug 26512</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>This appears to be different. It has to do with dependent types sneaking
through to codegen via templated friend functions (ew). Here's what I got from
reduction:
struct A {
template <class, bool> class B {
template <class r_colony_allocator_type, bool r_is_const,
class distance_type>
friend void advance(B<r_colony_allocator_type, r_is_const> &,
distance_type);
};
template <class r_colony_allocator_type, bool r_is_const, class
distance_type>
friend void advance(B<r_colony_allocator_type, r_is_const> &, distance_type)
{
distance_type a;
}
};
int main() {
A::B<int, false> b;
advance(b, 0);
}</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>