Date: 2016-05-20 05:02 (UTC)
ext_8103: (Default)
C99 tells us almost nothing about 'storage units' - pretty much just that they are 'addressable'. No alignment restrictions, no requirement that they're all the same size, no requirement that each bitfield is contained in exactly one storage unit, no explicit prohibition on sharing them with non-bitfields. We can see that they can be adjacent to one another or in a 'next' relationship but that doesn't explicitly rule out gaps between them.
As such I think an implementation could state that the storage units of a given struct are bounded only by its endpoints and any :0 bit-fields. Yuck.
This account has disabled anonymous posting.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

July 2025

S M T W T F S
  1 2345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2025-07-11 07:20
Powered by Dreamwidth Studios