|
|
|
|
|
by comex
358 days ago
|
|
> I guess C might be able to get away with it due to the interaction with strict aliasing rules. But not for char-typed accesses. And even for larger types, I think you would have to worry about the combo of first memcpying from pointer-typed memory to integer-typed memory, then loading the integer. If you eliminate dead integer loads, then you would have to not eliminate the memcpy. |
|