nikic wrote:

Uh, why are we allowed to assume that memcpy pointer arguments are aligned? 
This looks like a miscompile to me.

A plain `int *` pointer is not required to be aligned, and memcpy works on 
`void *` pointers, so I'm not sure where an alignment requirement would appear 
from.

https://github.com/llvm/llvm-project/pull/67766
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to