This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: aligned attribute
Maurizio Vitale wrote:
Thanks. Now to add to my confusion, on my system __alignof(long double)
returns 16, which I presume means that all allocation, static, dynamic
and automatic for long double objects are 16 byte aligned.
This is a reasonable choice, that long doubles would be aligned for good
performance, unless the alignment is over-ridden by a packed or reduced
alignment specification.