<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylU0uPmzAQ_jXmMgLxDOHAIbtJpL2ttlHbq8EDuDIYYZNs-us7hmQ3q_ZWNMbz0jffDEOlxbX80eEAte5HqRAarZS-yKElj0AWP8OpQ9gZg5OVegA5wOHM1cwtnrAf9cSnK1ykUtBwqQIW7lm4Y_GRxbt64qYLnklz9hKw1xEFNoRi4YUlT6v3rKWgwprFWxYXwPKbH26Py5bAkj1QBhlrXkAAOyf54WX1OLaJu-_ALN8_EsJBwD9IrW8aQM8pQckBHerqVHxoWfxEAv43AB97aX2lzj34P5cg-EIaXilcvP7IaVIGPso8FOiv0Mh30NS9_SjQWTsaZzmCxwnPEi8mcFCBnqjycR9FRVoka7YnykQUScE9PttOT-XvTs_uXKXfzZU3T6r8ithKS4GAmiPDwd4uf5z0L6xplEdpzIyGlCzJ08jrym3Ni5TULK-2dNIobFIhihqrsEKq7yleoTIly2gu8YAXWCBIZ9ne-38GsozDmCSKwiQMozwo0iZrsnwjqqZOeZ6xNMTebdt9Tt5ULpDV3BoKKmns5xA9-iSyHRAXwsTQSquw_GuLifHDnrNNePBZcpDm9e07ZeJ9OeMNCSyxFu2JFnqNrMlvWOtJfHpZnC8_BorAW9oslx7_AORmDLE>53741</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
EvaluateTemporary: Assertion `E->isPRValue() && E->getType()->isRecordType()' failed.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhouzhouyi-hub
</td>
</tr>
</table>
<pre>
When compile following code, The Assertion in EvaluateTemporary will fail.
/*crash.C*/
typedef int I;
void foo() {
int i = (int().I::~I(), 3);
}
/*end crash.C*/
command line:
clang++ -S -emit-llvm -Xclang -disable-llvm-passes crash.C
my fix of it:
https://reviews.llvm.org/D119493
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUk2PmzAQ_TXmMgKBDWE5cMhuEmlv1TZqezV4AFcGI2ySpr--A2R3U7VowPOlN89vqKy6ld87HKC2_agNQmONsVc9tJRRyPgLnDuEvXM4eW0H0AMcL9LM0uMZ-9FOcrrBVRsDjdQmYvGBxXvGT4zv60m6Lnohb4nXgr-NqLAhFA-vTDxv2YvVigZbxp8YL4Dl9zzcn6VbAxMHoA4Ktr6IAPaL5cfXLbOwFcv5DszywyMhHBT8h9T2JQF6SQ1GD7igbkkjh5bxZzIIvwKE2GsfGnPpIfyxFiFU2snK4JoNR0lKOfgY8zCgv0Gjf4Gl2_uPAZ33o1uiheBpwovGq4sWqMhONPl0SJIiLcTWHahSqEIUMvDaGyz_2QQhPeyK7eJjyMRRuy9v36gT3wXmOzJYay36My1lq2zNb1jbSX1mGc_X5aKKgnky5d-cW-27uYpIPgoW4vcjHCf7E2ta1kk7N6MjJxN5mgRdKUW8S9K8KbIsrwqV12mieCVq8VSrhGMWGFmhcSXLSHk-4BVWCPJZdgh0yWNOliSxiOMkj4q0yZos36mqqVOZZyyNsV_-xncdg6lcKVVz66hotPOfIge0Mt0OiOs4wpez7-xU_u7svLw3HdIFg5VBud7gDxvq9sY">