NetBSD-Bugs archive

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

Re: standards/52571 (max_align_t has smaller alignment than double)



GCC has two different alignments. It has a minimal ABI alignment and a preferred alignment. In the SYSV ABI for i386, the biggest alignment is 32bit. It is beneficial for certain types to aligned more if it can be done cheaply, that's why a global variable of type double for example is naturally aligned.

Joerg


Home | Main Index | Thread Index | Old Index