Mail Archives: djgpp/2000/06/05/13:45:28
Hello.
Eli Zaretskii wrote:
>
> Richard Dawe spake thusly:
> >
> > My concern is that gcc could pad between offset32 and selector, to
> > align the data and increase access speed.
>
> AFAIK, GCC has no reason doing so: access to a 16-bit word will not
> get faster, word-alignment is good enough for it, at least with
> current ia32 processors.
I guess I'm nitpicking here. Do you think that adding
"__attribute__((packed))" to all the structure fields is asking for
trouble given the problems with various versions of gcc/g++? Or is it not
worth the effort of preparing a patch for DJGPP 2.04?
Bye,
--
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
- Raw text -