Re: gcc bitfield order control

2011-07-11 Thread DJ Delorie
> > http://gcc.gnu.org/ml/gcc/2011-07/msg00142.html > > http://gcc.gnu.org/ml/gcc/2011-03/msg00112.html maybe? :) Yes, that one. Had both windows open :-P

Re: gcc bitfield order control

2011-07-11 Thread Jonathan Wakely
On 11 July 2011 17:24, DJ Delorie wrote: > >> Does anyone have any other ideas how to handle this with gcc? > > I started a thread on this a few months ago: > > http://gcc.gnu.org/ml/gcc/2011-07/msg00142.html http://gcc.gnu.org/ml/gcc/2011-03/msg00112.html maybe? :) > I'll use this as an excuse t

Re: gcc bitfield order control

2011-07-11 Thread DJ Delorie
> Does anyone have any other ideas how to handle this with gcc? I started a thread on this a few months ago: http://gcc.gnu.org/ml/gcc/2011-07/msg00142.html I'll use this as an excuse to work in it today :-)

gcc bitfield order control

2011-07-11 Thread Jon Grant
Hello I have a build with a lot of structures in a big-endian style layout. [I recognise that bit-fields are not portable due to their ordering not being locally MSB first like the regular bit shift operation << is.i.e.(1<<2) == 4 ] typedef struct reg32 { union {