This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] Use C11 _Alignas on scratch_buffer internal buffer
On 09/18/2017 06:10 PM, Paul Eggert wrote:
This patch could cause problems on non-GCC platforms. According to the
Gnulib documentation
<https://www.gnu.org/software/gnulib/manual/html_node/stdalign_002eh.html>,
Sun C 5.11 supports _Alignas but not on auto variables. In practice, the
unpatched scratch_buffer.h uses 1024-byte buffers everywhere,
Are you sure? sizeof (max_align_t) is 48 on i386, after all.
Thanks,
Florian