This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
Florian Weimer wrote:
I would rather go with intmax_t because it's not clear to me if __alignof__ (max_align_t) increases to 64 if AVX-512 is enabled on x86_64.
That would be a bug in the C compiler, right?Since C allows platforms where pointers and/or floating-point values have alignments stricter than intmax_t, I suggest using 'max (__alignof__ (intmax_t), __alignof__ (max_align_t))' along with a comment explaining why you don't trust max_align_t here.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |