<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assert in SemaExprMember.cpp after 61700724"
href="https://bugs.llvm.org/show_bug.cgi?id=47211">47211</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assert in SemaExprMember.cpp after 61700724
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>paul_robinson@playstation.sony.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=23856" name="attach_23856" title="crash log">attachment 23856</a> <a href="attachment.cgi?id=23856&action=edit" title="crash log">[details]</a></span>
crash log
The following source used to get an error diagnostic, now it asserts.
class C {
public:
template <class T> static constexpr T G = T(6.675e-11);
};
template <class T> T F() {
C object;
return object.G<T>;
}
int foo() {
return F<int>();
}
Bisected to 61700724:
commit 617007240cbfb97c8ccf6d61b0c4ca0bb62d43c9 (HEAD)
Author: Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>>
Date: Wed Jul 15 19:37:15 2020 -0700
Improve modeling of variable template specializations with dependent
arguments.
Don't build a variable template specialization declaration until its
scope and template arguments are non-dependent.
No functionality change intended, but the AST representation is now more
consistent with how we model other templates.</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>