> Gcc knows that it needs to access bitfields differently when a structure > is packed. It may be that gcc will generate correct code with your patch > for cases that would ordinarily fail ... Yes it will. I've used this on a number of occasions to get machine independant unaligned loads. It works on all machines, even if gcc has to resort to byte loads and shifts. r~