Re: Where does C standard mention alignment requirements as written in gcc manual?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 2015 at 05:04:28PM +0200, john smith wrote:
> In gcc manual it says:
> 
> "Note that the alignment of any given struct or union type is required
> by the ISO C standard to be at least a perfect multiple of the lowest
> common multiple of the alignments of all of the members of the struct
> or union in question."
> 
> Where exactly is this requirement mentioned in C standard? I was
> looking for it in both C99 and C11 drafts and couldn't find it.

C99 6.7.2.1/12 ?


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux