On 01/09/13 14:10, Bernd Edlinger wrote: > IMHO the AAPCS forbids packed structures. Therefore we need not > interfere with the C++ memory model if we have unaligned data.
The AAPCS neither forbids nor requires packed structures. They're a GNU extension and as such not part of standard C++. Thus the semantics of such an operation are irrelavant to the AAPCS: you get to chose what the behaviour is in this case... R.