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: RFC: PATCH to layout_decl for middle-end/27945


> It isn't.  Contrary to what I wrote below, this is a consequence of all
> the fields being packed.  If they all have 1-byte alignment, so does the
> record as a whole.

OK, this is my understanding too.

> Does GNAT set DECL_BIT_FIELD on everything?

In a packed record, yes, at least preventively.  Then it can be removed either 
in stor-layout.c or in Gigi.

-- 
Eric Botcazou


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