[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [cxx-abi-dev] Long bitfields in PODs
- To: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Subject: Re: [cxx-abi-dev] Long bitfields in PODs
- From: Jason Merrill <jason@xxxxxxxxxx>
- Date: Wed, 14 May 2003 15:28:39 -0400
On 14 May 2003 11:59:17 -0700, Mark Mitchell <mark@xxxxxxxxxxxxxxxx> wrote:
> We have to say something -- if we want all ABI-compliant compilers to
> behave the same way.
>
> Right now, we say:
>
> 2.2 POD Data Types
>
> The size and alignment of C POD types is as specified by the base (C)
> ABI. Type bool has size and alignment 1. All of these types have data
> size and non-virtual size equal to their size. (We ignore tail padding
> for PODs because the Standard does not allow us to use it for anything
> else.)
>
> Something in there needs to change, right?
I'd just add a note mentioning that since C doesn't have large bitfields,
they are handled by the rules elsewhere in the ABI.
Jason
|