This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: MS-style bit-field placement
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: MS-style bit-field placement
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Sat, 14 Apr 2001 14:22:24 -0500 (CDT)
- cc: gcc-patches at gcc dot gnu dot org
On 14 Apr 2001, Alexandre Oliva wrote:
> On Apr 14, 2001, Alexandre Oliva <aoliva@redhat.com> wrote:
>
> > Here's a patch that makes GCC capable of placing bit-fields exactly
> > like Microsoft compilers do. Or so it seems to me.
>
> Err... Actually, I ended up posting an older version of the patch.
> Here's the correct patch.
>
> > I'm a little bit unsure about whether to separate the three key
> > behaviors into different #defines, or to just have a single macro to
> > enable them all. Opinions? Ok to install?
Alexandre,
Have you taken a look at Donn Terry's old patch (Cygwin and Mingw have
been using this for a long time now)?
Linkname: Re: Patch: Feature: MSVC-style bit field packing -- take 2
URL: http://gcc.gnu.org/ml/gcc-patches/1999-06n/msg00702.html
You may want to take a look at the testcase that Donn provides.
Regards,
Mumit