This is the mail archive of the gcc-help@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: are statically allocated structs always aligned to a machine word on x86/x86_64?


On Sun, Aug 23, 2015 at 12:15:56AM +0100, Jonathan Wakely wrote:
> because alignments must be a power of 2.

That is true in C++, but not true in C or even POSIX afaics?


Segher


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