This is the mail archive of the gcc@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: PR 6212


On Tue, May 07, 2002 at 05:40:40PM -0400, Richard Kenner wrote:
> No, you are thinking of DECL_PACKED and DECL_ALIGN.  TYPE_PACKED applies
> to a record type and says the record type is packed.  The types of packed
> and unpacked fields are the same and should be.

Grr.  I think this is a serious mistake.  The type should
hold all of this information so that it would be possible
in principal to have a pointer to a packed int.

It also means my alignment patch yesterday is probably
wrong for packed fields at the moment.


r~


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