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: RFC: attribute "unpadded"


Andrew Haley wrote:-

> Types with this new attribute will have unusual semantics - you can't
> have arrays of them nor take the addresses of objects with that type,
> for example.

I think you can take the address, you just can't do arithmetic on the
address if the underlying type is one of these unpadded types.

Neil.


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