<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/144729>144729</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang: Invalid address-of-packed-member warning
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jstengleingithub
</td>
</tr>
</table>
<pre>
https://godbolt.org/z/vKxY544zz
See an invalid address-of-packed-member warning here. Passing the pointer to a void* parameter should not cause the warning to show, however see see the warning in the case of the expression statement in the function call.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkr2OnTAQhZ_GNNZFMOALFC5IIqQoTaRUKf0zgDfGRrbhbu7TRya7SpQqheWfOXN05G9EjGZxiJywD4R9KsSRVh_4S0zoFovGLSathyyk1z_5mtIeSTMSmAhMi9fS21T6sBCYngSm88vrd9a2zyepRlKN3xCpcNS4U1ijqdA6YIw3P992oX6gvm24SQz0IYIzbqErBiwp_ZozuYWmFenujUsYaPJU0NMbTWCkuwhiw_wcV39YTZ1PVIkj4tXzbpd8rj8IfKSrf-CZ9YjX-ltm3HVVIiL183XG1z0nNd7RmETCDV16182HUylXlLC2LDRv9NAMokBed6yCezUwVqy87jvFZikH6LGb2V0Puht0e5eN6iUOqjAcKmDVve5r1jDGSgYa5cyaXoq6GSpG2go3YWxp7bnlTy5MjAfyum07GAorJNp4YQNQVriFAGSCgeeGmzyWSNrKmpjiH4tkkkX-W96M9PN_oimOYP-lf81FqfxGYMr-b9ttD_4FVSIwXXkjgekt8snhVwAAAP__vmbRVw">