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]
Other format: [Raw text]

Re: RFA: fix gcc/20371


On Wed, May 04, 2005 at 10:47:56PM +0100, Joern RENNECKE wrote:
> Regression testing has revealed that there were actually more flaws
> in the MS bitfield code, and even some in the general struct layout
> code. E.g. for this code:
> 
> struct foo
> {
> char c __attribute__((aligned (128)));
> char a[127];
> };
> 
> gcc warns:
> 
> pad.c:3: warning: padding struct to align âcâ
> 
> The appended patch fixes all the problems I have found there.

It looks generally ok.  I wish someone who knew about and/or cared
about ms bitfield issues would double-check it.  But if you can't
find such an individual, it's fine by me.


r~


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