Re:A bug story: data alignment in C on x86 (2016)
by saagarjha on Wednesday September 05, 2018 @02:29AM
(#17915501)
> trying to use the language in the straightforward portable-assembler way that it was originally designed for
Just because it was designed that way doesn't mean that's the way it works now. There are reasons why pointer casts are left undefined (as opposed to many other sources of undefined behavior, to which I heartily agree should have been left implementation-defined).
Just because it was designed that way doesn't mean that's the way it works now. There are reasons why pointer casts are left undefined (as opposed to many other sources of undefined behavior, to which I heartily agree should have been left implementation-defined).