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: 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.



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