This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MS-style bit-field placement


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]