Re:The Strict Aliasing Situation Is Pretty Bad
by haberman on Tuesday March 15, 2016 @09:08PM
(#11294269)
How about the fact that the addresses might not be aligned?
How about the fact that there is no reason to write that if what you actually mean is memcpy(dst, src, 8)? Chunking yourself is a premature optimization that the compiler is in a better position to actually perform.
How about the fact that there is no reason to write that if what you actually mean is memcpy(dst, src, 8)? Chunking yourself is a premature optimization that the compiler is in a better position to actually perform.