<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/105778>105778</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[IR]: Bug - dangling reference
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
root-kidik
</td>
</tr>
</table>
<pre>
```
/llvm-project/llvm/include/llvm/IR/DiagnosticInfo.h:584:10: error: cannot bind non-const lvalue reference of type 'llvm::OptimizationRemarkMissed&' to an rvalue of type 'llvm::OptimizationRemarkMissed'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks2u2yAQhZ9mvEGJ8GCCs2Dhq8jSXVSV8gYYjx0aDBHgVLdPX9lNFam7Ihb8SGfOnG9Mzm4ORBrkB8hLZdZyi0mnGMvh7kZ3r4Y4fmk48dfmF-AdYO_9czk8UvxBtryugL0L1q8jvR8-r4D9xZk5xFyc_QxTPN5AdLJtQHQ1B9ExSimm7WBNCLGwwYWRhRgONoZcmH8avxJLNFGiYInFiZWvBzFAtVcRHYju-6O4xf0yxcVwpcWk-zeXM42AJ0DFSmQmsPRH6j8FFNvWq_O_QVSjFuNZnE1FulbYiPaEJ1nd9NRYQ1KcWzkZQY0cplOr6kFKfhY1kqicRo4Nb1Hwpq65PBoSo7KWlJpaZZWAhtNinD9u5o4xzZXLeSVdc6lUW3kzkM87MMRAP9n-C4gbv6R3MMM6Z2i4d7nkt0xxxe-kP68gL1viH-vMDmw0YfYuzO-MqzV5fSvlkbdwsAfsZ1du63C0cXnT_WcIdiMZsH85fWr8HQAA__9MJ78-">