[cfe-dev] libc++ max_align_t bug

Kal b17c0de at gmail.com
Thu Nov 28 06:42:11 PST 2013


Hi,
Running libc++ 3.4 rc1 "testit" on 32-bit Linux fails for test:

test/language.support/support.types/max_align_t.pass.cpp

max_align_t is typedef'd to "long double" type in <cstddef>. But...

alignment_of(long double)=4, sizeof(long double)=12
alignment_of(long long)=8, sizeof(long long)=8

Thanks,
Kal



More information about the cfe-dev mailing list