https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69573
--- Comment #15 from Chen Gang <gang.chen.5i5j at gmail dot com> --- (In reply to Martin Sebor from comment #9) > I built the x86_64-apple-darwin15.3.0 cross-compiler to better understand > what the problem is but I don't see it. The cross compiler says the size > and alignment of long double is 16 in both ILP32 (with -m32) and LP64. So > the patched test should pass without any further changes. > > Can you let me know the target triple of your GCC and the result of > _Alignof(long double)? Below is what I get: > I get the same result just like you have done. And my gcc information is: ShengShiZhuChengdeMacBook-Pro:ana sszc$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin14.4.0/6.0.0/lto-wrapper Target: x86_64-apple-darwin14.4.0 Configured with: ../gcc/configure Thread model: posix gcc version 6.0.0 20160205 (experimental) (GCC) Thanks.