This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: MS-style bit-field placement
On Apr 15, 2001, David Korn <dkorn@pixelpower.com> wrote:
> I don't have a copy of the language spec to hand, but IIRC the effects of
> BITFIELD_SAME_TYPE_SIZE would contradict the standard layout rules for
> bitfields, and so there should probably be some dependency of your patches
> on the -ansi (and other language spec selecting) flags ?
Hmm... I'd rather leave it up to the definition of these macros to
take -ansi into account. It's a matter of ABI, and, if the aim is to
be compatible with a certain ABI, we shouldn't hard-code anything that
would make it harder.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me